chore(deps): update helm release memcached to v7 #425
Workflow file for this run
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@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 | |
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
ref: ${{steps.git-intel.outputs.result.branch}} | |
fetch-depth: ${{steps.git-intel.outputs.result.depth}} | |
- name: Secret Scanning | |
uses: trufflesecurity/trufflehog@main | |
with: | |
extra_args: --results=verified,unknown |