lodash and js-yaml types need to be dependencies so as not to mess up… #107
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
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 |