[llvm] Fix validate checkout (PR #210471)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 20 08:48:20 PDT 2026
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/210471
>From 41bb8eb60b8030ed772f042b6f3822673b69d0fd Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 17 Jul 2026 17:44:03 -0700
Subject: [PATCH] workflows: Add missing checkouts when using
validate-release-version
We need to make sure all composite workflows we use are checked out
manually from th egit repo.
---
.github/workflows/release-binaries-all.yml | 7 +++++++
.github/workflows/release-binaries.yml | 6 ++++++
2 files changed, 13 insertions(+)
diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index 2e2869e4073da..862300a8118e5 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -68,6 +68,13 @@ jobs:
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
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
More information about the llvm-commits
mailing list