Skip to content

Commit

Permalink
cancel in progress workflows for PRs when they become outdated
Browse files Browse the repository at this point in the history
  • Loading branch information
herbetom committed Dec 20, 2023
1 parent 9a8ee57 commit 099c04f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-gluon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:
changed:
permissions:
Expand Down

0 comments on commit 099c04f

Please sign in to comment.