Skip to content

ci: bump hyperpolymath upstream reusable pins to HEAD #16

ci: bump hyperpolymath upstream reusable pins to HEAD

ci: bump hyperpolymath upstream reusable pins to HEAD #16

# This workflow is managed by gh actions-lock.
# SPDX-License-Identifier: MPL-2.0
name: Secret Scanner
on:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: read
contents: read
# Single secret scanner. The standards reusable runs gitleaks (+ a Rust-secrets
# check). An inline TruffleHog job previously lived here, but the reusable
# DELIBERATELY retired TruffleHog as redundant (gitleaks gives sufficient
# coverage at lower cost — see the reusable's header). Re-adding it was
# duplicated work, not extra coverage, so it has been removed. See
# .github/workflows/README.adoc.
jobs:
scan:
# The reusable installs and executes a pinned gitleaks binary directly.
# Since standards#500 it neither comments on PRs nor reads workflow-run
# metadata, so contents: read is the complete permission contract. Keep
# this job-level block explicit: it replaces the workflow-level grant and
# is therefore the cap GitHub applies to the called workflow.
permissions:
contents: read
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@1ded685afb366dededa9f372f82fb58cd45f3c7b

Check failure on line 29 in .github/workflows/secret-scanner.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/secret-scanner.yml

Invalid workflow file

error parsing called workflow ".github/workflows/secret-scanner.yml" -> "hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@1ded685afb366dededa9f372f82fb58cd45f3c7b" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.