Skip to content

Commit

Permalink
Remove scorecard token
Browse files Browse the repository at this point in the history
Turns out using a GitHub app isn't currently supported, so until that can be used, comment out the new steps.
  • Loading branch information
martincostello committed Oct 24, 2023
1 parent 37e56fb commit 32f61f1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ossf-scorecard

on:
branch_protection_rule:
#branch_protection_rule:
push:
branches: [ main ]
schedule:
Expand All @@ -26,19 +26,19 @@ jobs:
with:
persist-credentials: false

- name: Get application token
id: get-application-token
uses: peter-murray/workflow-application-token-action@8e1ba3bf1619726336414f1014e37f17fbadf1db # v2.1.0
with:
application_id: ${{ vars.JET_GITHUB_APPLICATION_ID }}
application_private_key: ${{ secrets.JET_GITHUB_SECRET_KEY }}
organization: ${{ github.repository_owner }}
#- name: Get application token
# id: get-application-token
# uses: peter-murray/workflow-application-token-action@8e1ba3bf1619726336414f1014e37f17fbadf1db # v2.1.0
# with:
# application_id: ${{ vars.JET_GITHUB_APPLICATION_ID }}
# application_private_key: ${{ secrets.JET_GITHUB_SECRET_KEY }}
# organization: ${{ github.repository_owner }}

- name: Run analysis
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
with:
publish_results: true
repo_token: ${{ steps.get-application-token.outputs.token }}
#repo_token: ${{ steps.get-application-token.outputs.token }}
results_file: results.sarif
results_format: sarif

Expand Down

0 comments on commit 32f61f1

Please sign in to comment.