Practical-DevOps-GitHub / fundamentals-github-task-MaksymZymyn

practical-devops-github-fundamentals-github-task-github-task created by GitHub Classroom
0 stars 0 forks source link

Task on GitHub Topic

  1. Add user softservedata to this repository.

  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

H

Issue ticket number and link

Checklist before requesting a review

  1. Create project for this repository.

  2. Add deploy key with name DEPLOY_KEY to your repository.

  3. Create discord server and add notification when PR was created.

  4. 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