update sentry_covdefaults_disable_branch_coverage==1.0.1 #1097
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: | |
| pull_request_target: | |
| jobs: | |
| auto-merge: | |
| if: github.actor == 'getsentry-bot' && startsWith(github.head_ref, 'craft-') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: | | |
| set -x | |
| GH_TOKEN=$GHA_TOKEN gh pr review --approve --repo "$GITHUB_REPOSITORY" "$PR" | |
| GH_TOKEN=$BOT_TOKEN gh pr merge --auto --merge --repo "$GITHUB_REPOSITORY" "$PR" | |
| env: | |
| PR: ${{ github.event.number }} | |
| GHA_TOKEN: ${{ github.token }} | |
| BOT_TOKEN: ${{ secrets.GH_RELEASE_PAT }} |