Update FUNDING.yml #12
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: 'openssf' | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
scorecard: | |
name: OpenSSF | |
runs-on: ubuntu-latest | |
permissions: | |
# Needed to upload the results to code-scanning dashboard. | |
security-events: write | |
actions: read | |
contents: read | |
# Needed to access OIDC token. | |
id-token: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: OSSF Scorecard action | |
uses: ossf/[email protected] | |
with: | |
results_file: results.sarif | |
results_format: sarif | |
publish_results: true | |
- name: "Upload SARIF results to code scanning" | |
uses: github/codeql-action/[email protected] | |
with: | |
sarif_file: results.sarif |