Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Update github-actions (major) (#5409)
renovate[bot]3bcf19f51e91
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.ymlindex b08223e6b..ab69f28d1 100644--- a/.github/workflows/codeql-analysis.yml+++ b/.github/workflows/codeql-analysis.yml@@ -38,9 +38,9 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7- name: Install Go- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"# Initializes the CodeQL tools for scanning.diff --git a/.github/workflows/detector-corpora-test.yml b/.github/workflows/detector-corpora-test.ymlindex 2e995da3b..a6dd6a7c0 100644--- a/.github/workflows/detector-corpora-test.yml+++ b/.github/workflows/detector-corpora-test.yml@@ -25,13 +25,13 @@ jobs:pull-requests: writesteps:- name: Checkout code- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7with:fetch-depth: 0persist-credentials: false- name: Install Go- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"@@ -121,7 +121,7 @@ jobs:- name: Restore main scan cacheid: main_scan_cacheif: steps.detect.outputs.any_changed == 'true' && steps.detect.outputs.main_csv != ''- uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6with:path: /tmp/results-main.jsonlkey: main-scan-v1-${{ steps.merge_base.outputs.sha }}-${{ steps.detect.outputs.main_csv }}@@ -200,7 +200,7 @@ jobs:- name: Save main scan cacheif: steps.detect.outputs.any_changed == 'true' && steps.detect.outputs.main_csv != '' && steps.main_scan_cache.outputs.cache-hit != 'true'- uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6with:path: /tmp/results-main.jsonlkey: main-scan-v1-${{ steps.merge_base.outputs.sha }}-${{ steps.detect.outputs.main_csv }}diff --git a/.github/workflows/detector-tests.yml b/.github/workflows/detector-tests.ymlindex 5e451573c..1d7b4eabd 100644--- a/.github/workflows/detector-tests.yml+++ b/.github/workflows/detector-tests.yml@@ -14,8 +14,8 @@ jobs:contents: "read"id-token: "write"steps:- - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6- - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7+ - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7- name: Install gotestsumuses: jaxxstorm/action-install-gh-release@25e24d2d23ae098373794ef1d6faecb48ee52da8 # v3.0.0with:diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex ac6769b2c..b8f8b72ea 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -15,8 +15,8 @@ jobs:name: golangci-lintruns-on: ubuntu-lateststeps:- - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6- - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7+ - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"- name: golangci-lint@@ -29,8 +29,8 @@ jobs:name: man-page-stalenessruns-on: ubuntu-lateststeps:- - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6- - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7+ - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"- name: Regenerate man page@@ -48,7 +48,7 @@ jobs:image: returntocorp/semgrepif: (github.actor != 'dependabot[bot]')steps:- - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7- run: semgrep --config=hack/semgrep-rules/detectors.yaml pkg/detectors/checksecretparts:# Reports detector packages that construct detectors.Result without@@ -56,8 +56,8 @@ jobs:name: checksecretpartsruns-on: ubuntu-lateststeps:- - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6- - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7+ - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"# hack/checksecretparts only needs the standard library, so this jobdiff --git a/.github/workflows/performance.yml b/.github/workflows/performance.ymlindex beb4711d9..7569291ef 100644--- a/.github/workflows/performance.yml+++ b/.github/workflows/performance.yml@@ -11,13 +11,13 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout code- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7with:fetch-depth: 0ref: ${{ github.head_ref }}- name: Install Go- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"@@ -54,7 +54,7 @@ jobs:echo PREVIOUS_TAG=$(cat previous_tag.txt) >> $GITHUB_ENV- name: Checkout code- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7with:fetch-depth: 0ref: ${{ env.PREVIOUS_TAG }}diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex e3fd82be0..7664cd129 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -18,7 +18,7 @@ jobs:steps:# Setup steps - no external side effects.- name: Checkout- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7with:fetch-depth: 0- name: Set up QEMU@@ -35,7 +35,7 @@ jobs:username: ${{ github.repository_owner }}password: ${{ secrets.GITHUB_TOKEN }}- name: Set up Go- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"- name: Cosign installdiff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.ymlindex e0dd2d72c..6dade0ffd 100644--- a/.github/workflows/secrets.yml+++ b/.github/workflows/secrets.yml@@ -15,7 +15,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout code- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7with:fetch-depth: 0ref: ${{ github.head_ref }}diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.ymlindex 2e483605c..ef6a1764a 100644--- a/.github/workflows/smoke.yml+++ b/.github/workflows/smoke.yml@@ -12,9 +12,9 @@ jobs:timeout-minutes: 15steps:- name: Checkout code- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7- name: Install Go- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"- name: Build@@ -30,9 +30,9 @@ jobs:timeout-minutes: 15steps:- name: Checkout code- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7- name: Install Go- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"- name: Builddiff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex 72f246e55..b1b9cb544 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -18,9 +18,9 @@ jobs:id-token: "write"steps:- name: Checkout code- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7- name: Install Go- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"- id: "auth"@@ -38,7 +38,7 @@ jobs:if: ${{ success() || failure() }} # always run this step, even if there were previous errors- name: Upload test results to BuildPulse for flaky test detectionif: ${{ !cancelled() }} # Run this step even when the tests fail. Skip if the workflow is cancelled.- uses: buildpulse/buildpulse-action@d4d8e00c645a2e3db0419a43664bbcf868080234 # v0.12.0+ uses: buildpulse/buildpulse-action@76dbedc6585e8731b40a19da1ebc3f6609dbbb83 # v3with:account: 79229934repository: 77726177@@ -60,9 +60,9 @@ jobs:contents: "read"steps:- name: Checkout code- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7- name: Install Go- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7with:go-version: "1.27"- name: Test