Skip to content

Commit

Permalink
Add pull request to concurrency group
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPirates committed Feb 6, 2024
1 parent 8c8a860 commit 7617d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
merge_group:
# Cancel builds if a new commit is pushed, except on master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

# Gives the workflow permissions to clone the repo and create a page deployment
Expand Down

0 comments on commit 7617d4e

Please sign in to comment.