Skip to content

Commit

Permalink
chore: cancel previous GHA from the same PR
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Feb 5, 2024
1 parent 08f3176 commit e71ed0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:

concurrency:
# Cancel previous actions from the same PR: https://stackoverflow.com/a/72408109
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
validation:
name: Validation
Expand Down

0 comments on commit e71ed0b

Please sign in to comment.