-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd62e3b
commit 03bfbaf
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: scorecard | ||
|
||
on: | ||
push: | ||
branches: | ||
# Run on pushes to default branch | ||
- main | ||
schedule: | ||
# Run weekly on Saturdays | ||
- cron: "30 1 * * 6" | ||
# Run when branch protection rules change | ||
branch_protection_rule: | ||
# Run the workflow manually | ||
workflow_dispatch: | ||
|
||
# Declare default permissions as read-only | ||
permissions: read-all | ||
|
||
jobs: | ||
run-scorecard: | ||
# Call reusable workflow file | ||
uses: cisco-ospo/.github/.github/workflows/_scorecard.yml@main | ||
permissions: | ||
id-token: write | ||
security-events: write | ||
secrets: inherit | ||
with: | ||
# Publish results of Scorecard analysis | ||
publish-results: true |