Skip to content

Commit

Permalink
github: cancel runs for the same pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
ahayzen committed Sep 10, 2024
1 parent 2f203ff commit 9668fbc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
pull_request:
workflow_dispatch:

# Cancel any previous runs for the same pull request
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:
license-check:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 9668fbc

Please sign in to comment.