Skip to content

🔧 chore: Add administration read permission for Scorecard branch prot… #179

🔧 chore: Add administration read permission for Scorecard branch prot…

🔧 chore: Add administration read permission for Scorecard branch prot… #179

Workflow file for this run

name: Scorecard supply-chain security

Check failure on line 1 in .github/workflows/scorecard.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/scorecard.yml

Invalid workflow file

(Line: 19, Col: 7): Unexpected value 'administration'
on:
branch_protection_rule:
schedule:
- cron: '30 1 * * 0'
push:
branches: [ "master" ]
workflow_dispatch:
permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
contents: read
administration: read
security-events: write
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: "Upload artifact"
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: SARIF file
path: results.sarif
retention-days: 5
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
with:
sarif_file: results.sarif