Repository navigation
fix(ci): call the secret scanner from proven-cicd-and-workflows #182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,23 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # This workflow is managed by gh actions-lock. | ||
| name: Secret Scanner | ||
|
|
||
| # Calls the published cicd-suite scanner, as gitbot-fleet does. The context | ||
| # this repository's ruleset requires, scan / gitleaks, is produced by the | ||
| # callee's gitleaks job (its supplemental matrix also reports | ||
| # scan / rust-secrets and scan / shell-secrets). | ||
| # | ||
| # The previous caller called metadatastician/standards, which this | ||
| # repository's Actions settings do not allow, so every run failed at | ||
| # startup with zero jobs. | ||
| # | ||
| # Boundaries: | ||
| # * `fast-pr` stays false: every run scans full history. | ||
| # * No `secrets:` line. The callee declares no workflow_call secret and | ||
| # installs its own checksum-pinned binary, so `secrets: inherit` would | ||
| # forward every repository and organisation secret for no benefit. | ||
| # * `contents: read` is the whole grant the callee's jobs declare. | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
|
|
@@ -12,13 +28,14 @@ concurrency: | |
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| actions: read | ||
| contents: read | ||
|
|
||
| jobs: | ||
| scan: | ||
| # This job-level block REPLACES the workflow-level one. Granting less than | ||
| # the callee's jobs declare rejects the run at startup with zero jobs. | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| actions: read | ||
| uses: metadatastician/standards/.github/workflows/secret-scanner-reusable.yml@9bdf864cc7f2c8e24b4df84bf00d04158eee3ad5 | ||
| uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/secret-scanner-reusable.yml@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When action admissions or dependency audits consume Useful? React with 👍 / 👎. |
||
| with: | ||
| fast-pr: false | ||
Uh oh!
There was an error while loading. Please reload this page.