Audit Dependencies #4
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 project | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 5 * * 1,3' | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Run cargo audit fix | |
uses: simonhyll/cargo-audit@v1 | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: bot/cargo-audit | |
title: "[Bot] Audit fixes" | |
commit-message: Cargo audit fixes | |
body: > | |
Updates to Cargo.toml and/or Cargo.lock with security fixes. | |
labels: automated pr |