Skip to content

Commit

Permalink
[Maint] use concurrency to cancel in-progress build_docs (#277)
Browse files Browse the repository at this point in the history
# References and relevant issues
Closes #172

# Description
Adds a concurrency group to the build_docs action, so that in progress
workflows are canceled
  • Loading branch information
psobolewskiPhD authored Nov 22, 2023
1 parent a24e8c3 commit 0b183c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- main
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-and-upload:
name: Build & Upload Artifact
Expand Down

0 comments on commit 0b183c3

Please sign in to comment.