Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/secret-scanning.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Secret Scanning'

on:
pull_request:
branches:
- main
- master
- develop

permissions: {}

concurrency:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major]: Using concurrency.group keyed only by github.ref with cancel-in-progress: true can cancel an older scan before it reports findings, while a newer run may fail or be cancelled too. In report-only mode (fail_on_findings: false), this can leave the PR without any secret-scan result and mask issues before merge.

group: secret-scanning-${{ github.ref }}
cancel-in-progress: true

jobs:
secret-scan:
name: 'Scan for secrets'
uses: guiddeco/shared-workflows/.github/workflows/ci-secret-scanning.yaml@v1
permissions:
contents: read
pull-requests: write
with:
fail_on_findings: false