Ab/sqlite #2491
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: Security audit | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
tags: | |
# YYYYMMDD | |
- "20[0-9][0-9][0-1][0-9][0-3][0-9]*" | |
pull_request: | |
# For PRs we only want to fail if dependencies were changed. | |
paths: | |
- "**/Cargo.toml" | |
- "**/Cargo.lock" | |
workflow_dispatch: | |
# Run the audit job once a day on main. | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
security_audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: rustsec/audit-check@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |