Settings for Personal Project
Repository Setting
- Allow auto-merge
Branch Protection Rule
mainRequire a pull request before mergingRequire status checks to pass before mergingStatus checks that are required.:status-check
Do not allow bypassing the above settings
GitHub App
Create a GitHub App to push commits, approve a pull request, and enable auto-merge.
- Permissions
contents: write- Push a commit to a pull request
- Enable automerge
pull-requests: write- Enable automerge
- Approve a pull request
GitHub Actions Workflow
Create two workflows.