Skip to content

Commit

Permalink
Cancel duplicate/previous CI runs (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
4ever2 authored Jun 26, 2024
2 parents 5950d6b + e9dfe98 commit 179e628
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
- 'LICENSE'
- 'papers/**'
- 'extra/docker/**'
concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }}"
cancel-in-progress: true
permissions:
contents: read
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint-opam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
pull_request:
paths:
- '**.opam'
concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }}"
cancel-in-progress: true
permissions:
contents: read
jobs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/refresh-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Refresh cache
on:
schedule:
- cron: 0 1 * * MON
concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }}"
cancel-in-progress: true
permissions:
contents: read
env:
Expand Down

0 comments on commit 179e628

Please sign in to comment.