From 24e6f6dcd5620c5e5dec8e20c314f04b639223ec Mon Sep 17 00:00:00 2001 From: Stephanie DiBenedetto Date: Tue, 19 Aug 2025 19:12:25 -0700 Subject: [PATCH 1/2] Rename scorecard.yml -> scorecards.yml Current seeing the error "The Action workflow file .github/workflows/scorecards.yml no longer exists." Renaming the workflow file to try to fix. --- .github/workflows/{scorecard.yml => scorecards.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{scorecard.yml => scorecards.yml} (100%) diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecards.yml similarity index 100% rename from .github/workflows/scorecard.yml rename to .github/workflows/scorecards.yml From 1f5fbbdd1f30cd1053759b2672634eb92d64db48 Mon Sep 17 00:00:00 2001 From: Stephanie DiBenedetto Date: Tue, 19 Aug 2025 20:18:20 -0700 Subject: [PATCH 2/2] Fixup scorecards.yml - try to fix 'invalid name' error for upload file artifact by just removing the setting; it's optional and will default to 'artifact' - bump various action versions --- .github/workflows/scorecards.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index d4588b0..aa88846 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -37,15 +37,10 @@ jobs: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1 + uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2 with: results_file: results.sarif results_format: sarif - # (Optional) "write" PAT token. Uncomment the `repo_token` line below if: - # - you want to enable the Branch-Protection check on a *public* repository, or - # - you are installing Scorecard on a *private* repository - # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional. - # repo_token: ${{ secrets.SCORECARD_TOKEN }} # Public repositories: # - Publish results to OpenSSF REST API for easy access by consumers @@ -59,15 +54,14 @@ 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@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: - name: SARIF file path: results.sarif retention-days: 5 # Upload the results to GitHub's code scanning dashboard (optional). # Commenting out will disable upload of results to your repo's Code Scanning dashboard - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10 with: sarif_file: results.sarif