[llvm] workflows/release-binaries: Always pull composite actions from main branch (PR #100805)
    Tom Stellard via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jul 26 17:40:37 PDT 2024
    
    
  
================
@@ -148,6 +148,20 @@ jobs:
     if: github.repository == 'llvm/llvm-project'
     runs-on: ${{ inputs.runs-on }}
     steps:
+
+    - name: Checkout Actions
+      uses: actions/checkout at v4
+      with:
+        ref: ${{ (github.event_name == 'pull_request' && github.sha) || 'main' }}
+        sparse-checkout: |
+          .github/workflows/
+        sparse-checkout-cone-mode: false
+        path: workflows
+
+    - name: Setup Stage
----------------
tstellar wrote:
I was wrong, the checkout does overwrite this.  See https://github.com/llvm/llvm-project/pull/100845.
https://github.com/llvm/llvm-project/pull/100805
    
    
More information about the llvm-commits
mailing list