Add deployment settings #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto-merge on approval | |
| on: | |
| pull_request_review: | |
| types: [submitted] | |
| jobs: | |
| automerge: | |
| if: ${{ github.event.review.state == 'approved' }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| checks: read | |
| steps: | |
| - name: Attempt merge when approved | |
| run: | | |
| echo "Auto-merge on approval disabled." | |
| echo "Please merge the PR manually after required checks and approvals pass." |