practical-devops-github-fundamentals-github-task-github-task created by GitHub Classroom
0
stars
0
forks
source link
Task on GitHub Topic
-
Add user softservedata
to this repository.
-
Create branch develop
as default branch.
-
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
-
Add template (pull_request_template.md) to .github
directory for creating issue in format:
Describe your changes
H
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
-
Create project for this repository.
-
Add deploy key with name DEPLOY_KEY
to your repository.
-
Create discord server and add notification when PR was created.
-
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