Skip to content

Commit

Permalink
feat: add triggering actor to concurrency group
Browse files Browse the repository at this point in the history
  • Loading branch information
aps831 committed May 17, 2024
1 parent 0795f9a commit fbffb5b
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bitbucket-mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
required: true
description: "Private ssh key to connect to Bitbucket repository"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
jobs:
check:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
jobs:
publish:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
jobs:
publish:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
jobs:
check:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
jobs:
check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "CodeQL - Go"
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "CodeQL - Java"
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis-javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "CodeQL - Javascript"
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "CodeQL - Python"
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-stale-issues-and-prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ on:
required: false
type: boolean
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-workflow-runs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Delete old workflow runs
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions: {}
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-check-audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
ENFORCER_FAIL: false
THRESHOLD: 6
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}-${{ inputs.working-directory }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Dependency Review
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployment-candidate-pub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: false
jobs:
check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployment-candidate-sub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ permissions:
issues: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
jobs:
check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/driftctl-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
aws-role-arn:
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/driftctl-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
required: true
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ensure-sha-pinned-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Ensure SHA pinned actions
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitleaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Gitleaks
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/grype-fs-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Grype Filesystem Scan
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/grype-image-scan-dispatched.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: "Access token"
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
packages: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/grype-image-scan-published.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
description: "Access token"
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
packages: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/grype-sbom-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
description: "Access token"
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mdbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ on:
required: true
description: "Github access token"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
type: string
default: "."
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/permissions-advisor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Permissions Advisor
permissions:
actions: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
on:
workflow_call:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reminder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
required: true
description: "Github access token"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Scorecards supply-chain security
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Semgrep Static Analysis
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy-config-audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Trivy Config Audit
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy-fs-audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Trivy File System Audit
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy-image-scan-dispatched.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: "Access token"
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
packages: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy-image-scan-published.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
description: "Access token"
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
packages: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
env:
TF_PLUGIN_CACHE_DIR: ${{ github.workspace }}/.terraform.d/plugin-cache
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.triggering_actor }}
cancel-in-progress: true
permissions:
contents: read
Expand Down

0 comments on commit fbffb5b

Please sign in to comment.