Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ on:
- 'Cargo.lock'
- '.github/workflows/**'

# main runs finish; any other ref cancels the older run of this workflow.
concurrency:
group: ci-gate-${{ github.ref_name }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref_name != 'main' }}

# Every other workflow in the repo pins this rather than inheriting whatever the
# repository default happens to be. This one is a pure caller today, so the four
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ on:
schedule:
- cron: "44 3 * * 6"

# main runs finish; any other ref cancels the older run of this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref_name != 'main' }}

jobs:
analyze:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cutile-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ on:
- "pull-request/[0-9]+"
workflow_dispatch:

# main runs finish; any other ref cancels the older run of this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref_name != 'main' }}

permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ on:
- 'Cargo.lock'
- '.github/workflows/**'

# main runs finish; any other ref cancels the older run of this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref_name != 'main' }}

permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/examples-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ on:
- 'Cargo.lock'
- '.github/workflows/**'

# main runs finish; any other ref cancels the older run of this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref_name != 'main' }}

permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/naming-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ on:
pull_request:
branches: [main]

# main runs finish; any other ref cancels the older run of this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref_name != 'main' }}

permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/status-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ on:
pull_request:
branches: [main]

# main runs finish; any other ref cancels the older run of this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref_name != 'main' }}

permissions:
contents: read
Expand Down
Loading