Skip to content

Commit

Permalink
Update scorecard.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-shaojun authored Jul 22, 2024
1 parent 42b4201 commit a0d7a69
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
branch_protection_rule:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '26 11 * * 5'
push:
branches: [ "master" ]
# schedule:
# - cron: '26 2 * * *'
# push:
# branches: [ "main" ]
workflow_dispatch:
# pull_request:

# Declare default permissions as read only.
permissions: read-all
Expand 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
Expand Down

0 comments on commit a0d7a69

Please sign in to comment.