Bump golangci/golangci-lint-action in the actions group (#293) #261
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 supply-chain security | |
on: | |
# (Optional) For Branch-Protection check. Only the default branch is supported. See | |
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection | |
# branch_protection_rule: | |
# To guarantee Maintained check is occasionally updated. See | |
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained | |
schedule: | |
- cron: '34 0 * * 6' | |
push: | |
branches: [ "main" ] | |
# Declare default permissions as none. | |
permissions: {} | |
jobs: | |
analysis: | |
name: Scorecard analysis | |
permissions: | |
# Needed to upload the results to code-scanning dashboard. | |
security-events: write | |
# Needed to publish results and get a badge (see publish_results below). | |
id-token: write | |
uses: sigstore/community/.github/workflows/reusable-scorecard.yml@main | |
# (Optional) Disable publish results: | |
# with: | |
# publish_results: false | |
# (Optional) Enable Branch-Protection check: | |
# secrets: | |
# scorecard_token: ${{ secrets.SCORECARD_TOKEN }} |