From 1d64acdcea772098ae81dc616ce2d90307fb30aa Mon Sep 17 00:00:00 2001 From: dprotaso Date: Wed, 20 Sep 2023 16:37:33 -0400 Subject: [PATCH] Update new repo template - No need to configure EasyCLA per repo - Knobots shouldn't be optional - this updates the community files --- .github/ISSUE_TEMPLATE/new-repo.md | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/new-repo.md b/.github/ISSUE_TEMPLATE/new-repo.md index 0fa255fe..ed8d1551 100644 --- a/.github/ISSUE_TEMPLATE/new-repo.md +++ b/.github/ISSUE_TEMPLATE/new-repo.md @@ -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 @@ -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)).