Skip to content

Commit

Permalink
fix: audit.yml fix, again
Browse files Browse the repository at this point in the history
  • Loading branch information
greendoescode authored Jun 14, 2024
1 parent 70ae059 commit f0357de
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
# A routine check to see if there are any Rust-specific security vulnerabilities
# in the repo we should be aware of.

name: audit
name: "Audit Dependencies"
on:
workflow_dispatch:
push:
paths:
# Run if workflow changes
- '.github/workflows/audit.yml'
# Run on changed dependencies
- '**/Cargo.toml'
- '**/Cargo.lock'
# Run if the configuration file changes
- '**/audit.toml'
# Rerun periodicly to pick up new advisories
schedule:
- cron: "0 0 * * 1" # every Monday
- cron: '0 0 * * *'
# Run manually
workflow_dispatch:

jobs:
audit:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: actions/checkout@v3
- uses: actions-rs/[email protected]
- uses: actions/checkout@v4
- uses: actions-rust-lang/audit@v1
name: Audit Rust Dependencies
with:
token: ${{ secrets.TOKEN }}

0 comments on commit f0357de

Please sign in to comment.