Skip to content

Commit

Permalink
chore: add security audit
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Aug 22, 2024
1 parent ef7ce98 commit fc281c9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Security Audit

on:
push:
branches:
- master
paths:
- "**/Cargo.toml"
schedule:
- cron: "0 16 * * *"

permissions:
contents: read

jobs:
security-audit:
permissions:
checks: write # for rustsec/audit-check to create check
contents: read # for actions/checkout to fetch code
issues: write # for rustsec/audit-check to create issues
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Audit Check
# https://github.com/rustsec/audit-check/issues/2
uses: rustsec/audit-check@master
with:
token: ${{ secrets.GH_TOKEN }}

0 comments on commit fc281c9

Please sign in to comment.