chore(deps): bump the actions group with 7 updates (#163) #421
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 workflow's gitleaks job elevates to these permissions; | |
| # a called workflow cannot exceed the caller's grant, so they must be | |
| # granted here or the run dies with startup_failure. | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| actions: read | |
| uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236 | |
| secrets: inherit | |
| trufflehog: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: TruffleHog Secret Scan | |
| uses: trufflesecurity/trufflehog@27b0417c16317ca9a472a9a8092acce143b49c55 # v3.93.3 | |
| with: | |
| # The action already appends `--fail` internally; repeating it here | |
| # makes the trufflehog binary abort with "flag 'fail' cannot be | |
| # repeated". Pass only `--only-verified`. | |
| extra_args: --only-verified |