diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 000000000..60639fbba --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,20 @@ +name: security + +on: + schedule: + - cron: '0 0 * * *' + push: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' + +jobs: + audit: + runs-on: ubuntu-latest + permissions: write-all + name: "Audit Dependencies" + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}