Skip to content

Commit

Permalink
Allow concurrent actions on the same branch. (#281)
Browse files Browse the repository at this point in the history
Actions are free for public repos and we want to see every CI failure
  • Loading branch information
malt3 committed Oct 14, 2022
1 parent f3d7ebb commit 0f57f03
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 60 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/azure-snp-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/build-ccm-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/build-gcp-guest-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-tf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-tfsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f57f03

Please sign in to comment.