Skip to content

fix(ci): grant the secret-scanner reusable its required job permissio… #201

fix(ci): grant the secret-scanner reusable its required job permissio…

fix(ci): grant the secret-scanner reusable its required job permissio… #201

# 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:
contents: read
jobs:
scan:
# The reusable's gitleaks job requests pull-requests: write (PR summary
# comment) and actions: read (workflow-run metadata) at job level; the
# caller must grant at least that or the run startup-fails.
permissions:
contents: read
pull-requests: write
actions: read
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@c65436ee3351cd6b0fa14b142938b195efc77586
secrets: inherit