Skip to content
Merged
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
27 changes: 22 additions & 5 deletions .github/workflows/secret-scanner.yml
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:
Expand All @@ -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
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update the action lock for the new reusable workflow

When action admissions or dependency audits consume .github/workflows/actions.lock, this workflow is still recorded there as metadatastician/standards@9bdf864... rather than the new proven-cicd-and-workflows revision. That leaves the replacement reusable and its transitive actions outside the lock while falsely associating the removed dependencies with this path; regenerate or selectively update the lock entry alongside this uses change.

Useful? React with 👍 / 👎.

with:
fast-pr: false
Loading