Merge pull request #1456 from yedayak/rsync-bsd-style #28
This file contains hidden or 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: OpenSSF Scorecard | |
on: | |
branch_protection_rule: | |
schedule: | |
- cron: "42 4 * * SAT" | |
push: | |
branches: | |
- main | |
permissions: {} | |
jobs: | |
analysis: | |
name: Scorecard analysis | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
security-events: write | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
persist-credentials: false | |
- uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 | |
with: | |
results_file: results.sarif | |
results_format: sarif | |
publish_results: true | |
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
with: | |
name: SARIF file | |
path: results.sarif | |
retention-days: 7 | |
- uses: github/codeql-action/upload-sarif@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8 | |
with: | |
sarif_file: results.sarif |