From 941a2269991bd3ed0dec923bd12d438a02f358fc Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Mon, 28 Jul 2025 20:56:01 -0700 Subject: [PATCH] Fix scorecard checks --- .github/workflows/ossf-scorecard.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ossf-scorecard.yml b/.github/workflows/ossf-scorecard.yml index 3d2f766f3..115e57d1f 100644 --- a/.github/workflows/ossf-scorecard.yml +++ b/.github/workflows/ossf-scorecard.yml @@ -28,6 +28,9 @@ jobs: results_file: results.sarif results_format: sarif publish_results: true + # file_mode is needed in this repo because .gitattributes excludes the .github directory + # (see https://github.com/ossf/scorecard/issues/4679#issuecomment-3013550752) + file_mode: git # Upload the results as artifacts (optional). Commenting out will disable # uploads of run results in SARIF format to the repository Actions tab.