Skip to content

Conversation

@boomanaiden154
Copy link
Contributor

This patch fixes the scorecard action. It is currently failing with an error due to the upload-artifact action being too far out of date.

https://github.com/llvm/llvm-project/actions/runs/13865016326/job/38802095257 is an example of a job failure.

This patch also bumps the other actions versions while we are at it.

This patch fixes the scorecard action. It is currently failing with an
error due to the upload-artifact action being too far out of date.

https://github.com/llvm/llvm-project/actions/runs/13865016326/job/38802095257
is an example of a job failure.

This patch also bumps the other actions versions while we are at it.
@llvmbot
Copy link
Member

llvmbot commented Mar 15, 2025

@llvm/pr-subscribers-github-workflow

Author: Aiden Grossman (boomanaiden154)

Changes

This patch fixes the scorecard action. It is currently failing with an error due to the upload-artifact action being too far out of date.

https://github.com/llvm/llvm-project/actions/runs/13865016326/job/38802095257 is an example of a job failure.

This patch also bumps the other actions versions while we are at it.


Full diff: https://github.com/llvm/llvm-project/pull/131472.diff

1 Files Affected:

  • (modified) .github/workflows/scorecard.yml (+4-4)
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
index db741b6405962..6cc80fb316c67 100644
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -31,12 +31,12 @@ jobs:
 
     steps:
       - name: "Checkout code"
-        uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
+        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
         with:
           persist-credentials: false
 
       - name: "Run analysis"
-        uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
+        uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
         with:
           results_file: results.sarif
           results_format: sarif
@@ -49,7 +49,7 @@ jobs:
       # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
       # format to the repository Actions tab.
       - name: "Upload artifact"
-        uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
+        uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
         with:
           name: SARIF file
           path: results.sarif
@@ -57,6 +57,6 @@ jobs:
 
       # Upload the results to GitHub's code scanning dashboard.
       - name: "Upload to code-scanning"
-        uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
+        uses: github/codeql-action/upload-sarif@80f993039571a6de66594ecaa432875a6942e8e0 # v2.20.6
         with:
           sarif_file: results.sarif

@boomanaiden154 boomanaiden154 merged commit 3120515 into llvm:main Mar 21, 2025
10 of 11 checks passed
@boomanaiden154 boomanaiden154 deleted the fix-scorecard-action-3-15-25 branch March 21, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants