Skip to content

Commit

Permalink
Merge pull request python-pillow#338 from hugovk/cancel-builds-in-pro…
Browse files Browse the repository at this point in the history
…gress

Add concurrency so old workflows are cancelled in favour of new ones
  • Loading branch information
radarhere authored Oct 27, 2022
2 parents ede54eb + 659c178 commit ac76a05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Lint

on: [push, pull_request, workflow_dispatch]

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

jobs:
lint:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Wheels

on: [push, pull_request, workflow_dispatch]

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

jobs:
macos:
uses: ./.github/workflows/wheels-macos.yml
Expand Down

0 comments on commit ac76a05

Please sign in to comment.