chore(deps): update helm release openstack-helm/horizon to v2025.2.10+c665eedfa #5799
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
| --- | |
| name: Secrets scanning | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| merge_group: | |
| types: [checks_requested] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 | |
| id: git-intel | |
| with: | |
| script: | | |
| let depth = 0; | |
| let branch = ""; | |
| core.debug(context.payload) | |
| if (context.eventName == "push") { | |
| depth = context.payload.commits.length | |
| branch = context.ref | |
| } | |
| if (context.eventName == "pull_request") { | |
| depth = context.payload.pull_request.commits | |
| branch = context.payload.pull_request.head.ref | |
| } | |
| depth = depth + 2 | |
| core.info(`Will fetch ${depth} commits from ${branch}.`) | |
| return { "depth": depth, "branch": branch } | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| ref: ${{steps.git-intel.outputs.result.branch}} | |
| fetch-depth: ${{steps.git-intel.outputs.result.depth}} | |
| - name: Secret Scanning | |
| uses: trufflesecurity/trufflehog@ba0a524d6e51744d9d4e306bc57ac5d6ca5173ea # main | |
| with: | |
| extra_args: --results=verified,unknown |