Audit dependencies #184
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: "Audit dependencies" | |
on: | |
push: | |
paths: | |
# Run if workflow changes | |
- .github/workflows/audit.yml | |
# Run on changed dependencies | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
pull_request: | |
# Rerun periodically to pick up new advisories | |
schedule: | |
- cron: '0 0 * * *' | |
# Run manually | |
workflow_dispatch: | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/audit@v1 | |
name: Audit Rust dependencies | |
with: | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} |