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:

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 pull_request can prevent repository secrets from being available on runs originating from forks, which may cause this org-wide secret scanning workflow to silently lose coverage on external contributions. If the reusable workflow is designed for safe read-only execution, consider using pull_request_target (with strict checkout/ref handling) or explicitly document that forked PRs are out of scope.

branches:
- main
- master
- develop

permissions: {}

concurrency:
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