Skip to content

Commit

Permalink
only concurrency groups in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ameknite committed Jun 14, 2024
1 parent 156a354 commit 58228c6
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 56 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/add_notice.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Add Notice

permissions:
contents: write

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

on:
workflow_call:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/auto_merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ on:

permissions:
contents: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
pull-requests: write

jobs:
dependabot:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/build_and_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ permissions:
# To upload files to GitHub Releases
contents: write

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

on:
workflow_dispatch:
inputs:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/bump_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ on:
crate-version:
description: "Bump version: (e.g. -> 3.1.4-alpha+159)"
required: true
type: string

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

jobs:
bump-version:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ permissions:
on:
workflow_dispatch:

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

jobs:
clean-cache:
runs-on: ubuntu-latest
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/cargo_deny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
workflow_call:
workflow_dispatch:

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

jobs:
cargo-deny:
runs-on: ubuntu-latest
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/cargo_semver_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ on:
- none
- patch
- minor
- major

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

jobs:
check-if-lib:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/miror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
workflow_dispatch:
push:

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

jobs:
push:
name: Push to Codebergs
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/mothly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
- cron: "0 0 1 * *"
workflow_dispatch:

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

permissions:
contents: write

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/msrv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
update-msrv:
type: boolean

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

jobs:
check-msrv:
if: ${{ !inputs.update-msrv }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
workflow_call:
workflow_dispatch:

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

jobs:
check-secret-existence:
runs-on: ubuntu-latest
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/update_attributions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
type: string
workflow_dispatch:

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

jobs:
update-attributions:
runs-on: ubuntu-latest
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/weekly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
- cron: "0 0 * * 6"
workflow_dispatch:

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

jobs:
run-ci:
uses: ./.github/workflows/ci.yaml

0 comments on commit 58228c6

Please sign in to comment.