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:
|
2024-01-26 05:06:55 -06:00
|
|
|
- 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 }}
|