diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 171f3af..ac46c1e 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -48,7 +48,7 @@ jobs: release_ref: ${{ steps.detect.outputs.release_ref }} steps: - name: Check out the pushed commit (full history + tags) - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # fetch-depth: 0 pulls every tag so the existence check below is # authoritative; a shallow clone would omit tags and mis-report. @@ -122,7 +122,7 @@ jobs: contents: write # push the new tag ref steps: - name: Check out the pushed commit - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # github.sha = this main push's HEAD, the immutable commit to tag. ref: ${{ github.sha }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb2e4db..47bb625 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false @@ -86,7 +86,7 @@ jobs: env: GITLEAKS_VERSION: 8.24.3 steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false @@ -112,7 +112,7 @@ jobs: timeout-minutes: 10 runs-on: ubuntu-latest steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Audit workflows @@ -131,7 +131,7 @@ jobs: timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false @@ -147,7 +147,7 @@ jobs: timeout-minutes: 10 runs-on: ubuntu-latest steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Set up Go diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7f650c..7c6baf1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,7 @@ jobs: contents: read steps: - name: Check out the pushed commit - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # github.sha, not the tag ref: checkout re-resolves a NAMED ref at each # job's start, so a tag moved after the push could differ here. The sha is @@ -148,7 +148,7 @@ jobs: attestations: write # publish the build-provenance attestations (public repo) steps: - name: Check out the pushed commit - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # github.sha (the commit the pushed tag pointed at), not the tag NAME and # not the default-branch tip, so the binaries below are built from the exact @@ -371,7 +371,7 @@ jobs: contents: read steps: - name: Check out (full history) - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # Full history so the content-commit resolution below can walk parents, # exactly as release.yml's semantic gate does.