From 357f11e6df45354d16f28c8f0efe7285a9902b96 Mon Sep 17 00:00:00 2001 From: Andy Wu Date: Mon, 25 Mar 2024 10:42:08 -0700 Subject: [PATCH] [fix] score card complaints --- .github/workflows/{test.yml => foundry_ci.yml} | 0 .github/workflows/scorecard.yml | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename .github/workflows/{test.yml => foundry_ci.yml} (100%) diff --git a/.github/workflows/test.yml b/.github/workflows/foundry_ci.yml similarity index 100% rename from .github/workflows/test.yml rename to .github/workflows/foundry_ci.yml diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 505029755..2c1d54309 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -13,6 +13,8 @@ on: - cron: '25 1 * * 2' push: branches: [ "main" ] + pull_request: + branches: [ "main" ] # Declare default permissions as read only. permissions: read-all @@ -37,7 +39,7 @@ jobs: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2 + uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1 with: results_file: results.sarif results_format: sarif