Skip to content

Commit

Permalink
Merge pull request #3097 from blink1073/patch-1
Browse files Browse the repository at this point in the history
Using concurrency to cancel any in-progress job or run
  • Loading branch information
jaraco authored Feb 12, 2022
2 parents ce9ddd5 + 6d59c76 commit dd7bd40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: tests

on: [push, pull_request, workflow_dispatch]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
test:
strategy:
Expand Down

0 comments on commit dd7bd40

Please sign in to comment.