From 76595fc3c7638621d72b824e31d047f1207af3d8 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Mon, 23 Jun 2025 09:56:55 -0700 Subject: [PATCH] Revert "Fix OSSF scorecard branch protection check (#1971)" This reverts commit 0b7c5de951aeae8548d49d6f732cf65b50f6965d. --- .github/workflows/ossf-scorecard.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/ossf-scorecard.yml b/.github/workflows/ossf-scorecard.yml index 033e6cc7c..cff5b894f 100644 --- a/.github/workflows/ossf-scorecard.yml +++ b/.github/workflows/ossf-scorecard.yml @@ -23,18 +23,8 @@ jobs: with: persist-credentials: false - - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6 - id: create-token - with: - # analyzing classic branch protections requires a token with admin read permissions - # see https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md - # and https://github.com/open-telemetry/community/issues/2769 - app-id: ${{ vars.OSSF_SCORECARD_APP_ID }} - private-key: ${{ secrets.OSSF_SCORECARD_PRIVATE_KEY }} - - uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2 with: - repo_token: ${{ steps.create-token.outputs.token }} results_file: results.sarif results_format: sarif publish_results: true