Security audit cron job #1164
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: Security audit cron job | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
audit: | |
permissions: | |
checks: write # for rustsec/audit-check to create check | |
contents: read # for actions/checkout to fetch code | |
issues: write # for rustsec/audit-check to create issues | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: rustsec/audit-check@dd51754d4e59da7395a4cd9b593f0ff2d61a9b95 # v1.4.1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |