Skip to content

Commit

Permalink
Cancel in-progress workflow jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Apr 7, 2023
1 parent ee68ae6 commit e4f4208
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/setup-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
pull_request:
branches: [ main ]

# Cancel previous runs that have not completed
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
conda:
strategy:
Expand Down

0 comments on commit e4f4208

Please sign in to comment.