Skip to content

synchronize PR #52 - Abort the run when a git/gh command fails unexpectedly #146

synchronize PR #52 - Abort the run when a git/gh command fails unexpectedly

synchronize PR #52 - Abort the run when a git/gh command fails unexpectedly #146

Workflow file for this run

name: Update PR Stack
run-name: "${{ github.event.action }} PR #${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}"
on:
pull_request:
types: [closed, synchronize]
permissions:
contents: write
pull-requests: write
# Serialize runs per PR: the push that finishes a conflict resolution fires a
# synchronize event while the conflict label is still attached, so without a
# group the follow-up run races the one that triggered it.
concurrency:
group: update-pr-stack-${{ github.event.pull_request.number }}
cancel-in-progress: false
jobs:
update-pr-stack:
runs-on: ubuntu-latest
steps:
- uses: Phlogistique/autorestack-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}