chore: add audit check (#2595)

This commit is contained in:
Zephyr Shannon
2020-07-21 15:32:54 -07:00
committed by GitHub
parent 14723f9786
commit cbb4abc8ae
2 changed files with 54 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
name: Security Audit
on:
push:
branches:
- master
paths:
- '**/Cargo.toml'
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
jobs:
security-audit:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v2
- name: Audit Check
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}