rust/.github/workflows/audit.yml

19 lines
424 B
YAML
Raw Normal View History

2023-07-24 07:13:10 -05:00
name: Security audit
on:
workflow_dispatch:
schedule:
- cron: '0 10 * * 1' # every monday at 10:00 UTC
permissions:
issues: write
checks: write
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2023-07-24 07:29:47 -05:00
- run: |
sed -i 's/components.*/components = []/' rust-toolchain
2023-07-24 07:13:10 -05:00
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}