zenstruck/callback: callable 包装器来验证和注入参数。 #874
This file contains 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
name: secrets check | |
on: [ workflow_dispatch, push ] | |
jobs: | |
security-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
# ref: ${{ github.ref_name }} | |
fetch-depth: 0 | |
- name: TruffleHog OSS | |
uses: trufflesecurity/[email protected] | |
with: | |
# path: ./ | |
# base: ${{ github.event.repository.default_branch }} | |
# head: ${{ github.ref_name }} | |
extra_args: --debug --only-verified |