From 977ab11af23238bd44966caa2a8bc11f9d1f79a8 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Mon, 11 Jul 2022 00:33:42 +0000 Subject: [PATCH] Revert "temporarily remove cargo audit check" This reverts commit 892efd0b1371b0a9d7ce973c30b18b0db6ca2854. --- .github/workflows/security.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/security.yml 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 }}