Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update new repo template #1439

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions .github/ISSUE_TEMPLATE/new-repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,18 @@ _You may not be able to use the Projects quick menu on this page. In that case,

**TOC Gate**: _Once the TOC has approved the above, it will merge and Peribolos will create an empty repository._

- [ ] Ask Steering to add the repo to EasyCLA in [Slack](https://cloud-native.slack.com/archives/C04LQCW0C03/p1676466607624469).

- [ ] (golang) Send a PR to add aliases for `knative.dev/$REPONAME` import paths ([sample](https://github.com/knative/docs/pull/4160)).

- [ ] Have a lead from the sponsoring WG bootstrap the Git repository by pushing an
- [ ] Have a lead from the sponsoring WG bootstrap the Git repository by using an
appropriate "template" repository ([basic](https://github.com/knative-extensions/wg-repository),
[sample-controller](https://github.com/knative-extensions/sample-controller),
[sample-source](https://github.com/knative-extensions/sample-source)) to the new repository as
a git remote. For example:
[sample-source](https://github.com/knative-extensions/sample-source)).

Follow the instructions from [Creating a repository from a template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)

```shell
git clone https://github.com/knative-extensions/sample-controller.git
cd sample-controller
git remote add newrepo https://github.com/knative-extensions/$REPONAME.git
git push newrepo main
```
- [ ] Send a PR adding the repo to [knobots](https://github.com/knative-extensions/knobots). Then run the community files update action to propagate new OWNER_ALIASES.

- [ ] Add your GitHub ID to the `OWNERS` file for your repo.
- [ ] Add your GitHub Team to the `OWNERS` file for your repo.

- [ ] [Set up](https://github.com/knative/test-infra/blob/main/guides/prow_knative_setup.md#setting-up-prow-for-a-new-repo-reviewers-assignment-and-auto-merge) prow for a new repo

Expand All @@ -66,6 +60,4 @@ _You may not be able to use the Projects quick menu on this page. In that case,
- [ ] Verify that within 24 hours the appropriate branch protections have been applied
requiring `tide` to pass before PRs are merged.

- [ ] (optional) Send a PR adding the repo to [knobots](https://github.com/knative-extensions/knobots).

- [ ] (optional) Send a PR adding the repo to [CLOMonitor](https://clomonitor.io/projects/cncf/knative) ([more information](/REPOSITORY-GUIDELINES.md#clomonitor-and-clotributor)).
Loading