[llvm] Fix validate checkout (PR #210471)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 17 17:53:29 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Tom Stellard (tstellar)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/210471.diff
2 Files Affected:
- (modified) .github/workflows/release-binaries-all.yml (+7-2)
- (modified) .github/workflows/release-binaries.yml (+6)
``````````diff
diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index 2e2869e4073da..afc38ffaa8b7f 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -62,14 +62,19 @@ concurrency:
jobs:
setup-variables:
if: >-
- (github.event_name != 'pull_request' || github.event.action != 'closed')
runs-on: ubuntu-24.04
outputs:
release-version: ${{ steps.vars.outputs.release-version }}
upload: ${{ steps.vars.outputs.upload }}
steps:
+ - uses: actions/checkout at de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ persist-credentials: false
+ sparse-checkout: |
+ .github/workflows/validate-release-version
+ sparse-checkout-cone-mode: false
+
- name: Validate Input
- if: inputs.release-version != ''
uses: ./.github/workflows/validate-release-version
with:
release-version: ${{ inputs.release-version }}
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index d2dbb656d371d..1b098e2d2c3c0 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -72,6 +72,12 @@ jobs:
attestation-name: ${{ steps.vars.outputs.attestation-name }}
steps:
+ - uses: actions/checkout at de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ persist-credentials: false
+ sparse-checkout: |
+ .github/workflows/validate-release-version
+ sparse-checkout-cone-mode: false
- name: Validate Release Version
if: inputs.release-version != ''
uses: ./.github/workflows/validate-release-version
``````````
</details>
https://github.com/llvm/llvm-project/pull/210471
More information about the llvm-commits
mailing list