Allow concurrent actions on the same branch. (#281)

Actions are free for public repos and we want to see every CI failure
This commit is contained in:
Malte Poll 2022-10-14 17:47:46 +02:00 committed by GitHub
parent f3d7ebb61f
commit 0f57f03846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 0 additions and 60 deletions

View File

@ -4,11 +4,6 @@ on:
schedule:
- cron: "0 14 * * 0"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed that is not main.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build-snp-reporter:
name: "Build SNP-reporter container"

View File

@ -16,11 +16,6 @@ on:
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build-bootstrapper:
runs-on: ubuntu-latest

View File

@ -3,11 +3,6 @@ env:
REGISTRY: ghcr.io
on: [workflow_dispatch]
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-ccm-gcp:
runs-on: ubuntu-latest

View File

@ -3,11 +3,6 @@ env:
REGISTRY: ghcr.io
on: [workflow_dispatch]
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-gcp-guest-agent:
runs-on: ubuntu-latest

View File

@ -15,11 +15,6 @@ on:
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
govulncheck:
name: govulncheck

View File

@ -15,11 +15,6 @@ on:
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
integration-test:
runs-on: ubuntu-latest

View File

@ -20,11 +20,6 @@ permissions:
# Allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
golangci:
name: lint

View File

@ -10,11 +10,6 @@ on:
paths:
- "**.sh"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
shellcheck:
name: Shellcheck

View File

@ -11,11 +11,6 @@ on:
paths:
- "**.tf"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
tfsec:
name: terraform

View File

@ -15,11 +15,6 @@ permissions:
contents: read
pull-requests: write
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
tfsec:
name: tfsec

View File

@ -15,11 +15,6 @@ on:
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
gotidycheck:
name: Go mod tidy check

View File

@ -15,11 +15,6 @@ on:
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test-linux:
runs-on: ubuntu-latest