diff options
Diffstat (limited to '.github/workflows/security-audit.yml')
-rw-r--r-- | .github/workflows/security-audit.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml new file mode 100644 index 000000000..9a813022c --- /dev/null +++ b/.github/workflows/security-audit.yml @@ -0,0 +1,20 @@ +name: Security audit +on: + pull_request: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' + push: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' + schedule: + - cron: '0 0 * * *' +jobs: + security_audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} |