diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2025-03-09 20:25:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-09 20:25:10 -0400 |
| commit | a378c6d544ad43143939e2b247751279abec8019 (patch) | |
| tree | 9574e6dffb4a3a852de6f800db08ac1b74f63391 /.github | |
| parent | bfa6b9dcef7592e6dd8225aaa0d0ab5aef5b3f84 (diff) | |
chore(ci): Run all workflows in concurrency groups, and cancel in-progress for efficiency (#2346)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/benchmark.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/build.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/codeql-analysis.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/conventional-commits.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/docker-main.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/docker.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/docs.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/image-scan.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/label.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/lint.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/release-please.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/stale.yml | 4 |
13 files changed, 52 insertions, 0 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ba1051aa..2e52d55a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -5,6 +5,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: benchmark: name: benchmark regression check diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67d93fc2..f4566722 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,10 @@ on: pull_request: branches: [ main ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: linux-build: runs-on: ubuntu-latest diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index aaa9b5e1..22cff68b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,6 +21,10 @@ on: schedule: - cron: '42 18 * * 0' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: analyze: name: Analyze diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 5d28b37d..fbce7f66 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -5,6 +5,10 @@ on: branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: name: Conventional Commits diff --git a/.github/workflows/docker-main.yml b/.github/workflows/docker-main.yml index ba24e91b..fb8f8c32 100644 --- a/.github/workflows/docker-main.yml +++ b/.github/workflows/docker-main.yml @@ -3,6 +3,10 @@ on: push: branches: [ main ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: docker-main-build: runs-on: ubuntu-latest diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 2de21bc1..24d6bad0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,6 +4,10 @@ on: branches: [ main ] workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: docker-build: runs-on: ubuntu-latest diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 554b90ca..90fc0f07 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,6 +3,10 @@ on: pull_request: branches: [ main ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: check-func-docs: runs-on: ubuntu-latest diff --git a/.github/workflows/image-scan.yml b/.github/workflows/image-scan.yml index 16405792..2b1370c5 100644 --- a/.github/workflows/image-scan.yml +++ b/.github/workflows/image-scan.yml @@ -6,6 +6,10 @@ on: pull_request: branches: [ main ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: image-scan: permissions: diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 91c4adb3..2a3ce2d3 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -4,6 +4,10 @@ on: types: [ opened ] branches: [ main ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: label: permissions: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0127c271..1c54b312 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,6 +8,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: golangci: name: lint diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 97569b97..e34b4769 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -9,6 +9,10 @@ permissions: contents: write pull-requests: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + jobs: release-please: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b282dce..da6b56b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,10 @@ permissions: pull-requests: write packages: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + jobs: deploy-alpine: runs-on: ubuntu-latest diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 4d9595a3..8ae5c8b7 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,6 +9,10 @@ permissions: issues: write pull-requests: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: stale: runs-on: ubuntu-latest |
