update sentry_arroyo==2.19.8 #1150
Workflow file for this run
This file contains 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: | |
- name: Get auth token | |
id: token | |
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 | |
with: | |
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }} | |
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }} | |
- 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: ${{ steps.token.outputs.token }} |