Skip to content

Commit

Permalink
Merge pull request #201 from jakevdp:actions-concurrency
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675625722
  • Loading branch information
The ml_dtypes Authors committed Sep 17, 2024
2 parents 15e3d0a + 25cb236 commit 9a56b09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
permissions:
contents: read # to fetch code

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || 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 @@ -15,6 +15,10 @@ on:
types:
- published

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

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
Expand Down

0 comments on commit 9a56b09

Please sign in to comment.