diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..5c2e160 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,10 @@ +## Describe your changes + +## Issue ticket number and link + +## Checklist before requesting a review + +- [ ] I have performed a self-review of my code +- [ ] If it is a core feature, I have added thorough tests +- [ ] Do we need to implement analytics? +- [ ] Will this be part of a product update? If yes, please write one phrase about this update diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..dfb3796 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @softservedata \ No newline at end of file diff --git a/README.md b/README.md index 6f95131..9308743 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,12 @@ 2. Create branch `develop` as default branch. 3. Protect branches `main` and `develop` with these rules: + - user can't merge to both branches without pull request - allowed to merge to `develop` branch only if we have 2 approvals - merge to `main` branch allowed if only owner approved PR - assign the user `softservedata` as the code owner for all the files in the `main` branch + 4. Add template (pull_request_template.md) to `.github` directory for creating issue in format: ## Describe your changes @@ -16,6 +18,7 @@ ## Issue ticket number and link ## Checklist before requesting a review + - [ ] I have performed a self-review of my code - [ ] If it is a core feature, I have added thorough tests - [ ] Do we need to implement analytics? @@ -27,6 +30,7 @@ 7. Create discord server and add notification when PR was created. -8. For github actions: +8. For github actions: + - create PAT (Personal Access Token) with **Full control of private repositories** and **Full control of orgs and teams, read and write org projects** -- add to repository actions secrets key with the name `PAT` and the value of the created PAT +- add to repository actions secrets key with the name `PAT` and the value of the created PAT