2021-09-28 02:15:17 +03:00
|
|
|
{{{{raw}}}}
|
|
|
|
name: Audit
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- "**/Cargo.lock"
|
|
|
|
- "**/Cargo.toml"
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- "**/Cargo.lock"
|
|
|
|
- "**/Cargo.toml"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
audit:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-04-03 14:12:49 +03:00
|
|
|
- uses: actions/checkout@v3
|
2023-04-03 16:01:59 +03:00
|
|
|
- uses: rustsec/audit-check@v1
|
2021-09-28 02:15:17 +03:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
2023-04-03 14:12:49 +03:00
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
checks: write
|
2021-09-28 02:15:17 +03:00
|
|
|
{{{{/raw}}}}
|