diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index 5231e443..9052f60d 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -9,8 +9,15 @@ on: schedule: - cron: "0 0 * * *" +permissions: # added using https://github.com/step-security/secure-repo + contents: read + jobs: security_audit: + permissions: + checks: write # for actions-rs/audit-check to create check + contents: read # for actions/checkout to fetch code + issues: write # for actions-rs/audit-check to create issues name: Security Audit runs-on: ubuntu-latest steps: