From b06d66d8c9a30f507ed5b9d7b2c4e174abc6b189 Mon Sep 17 00:00:00 2001 From: fbrv Date: Tue, 6 Aug 2024 14:02:55 +0100 Subject: [PATCH] security --- .github/workflows/security-audit.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/security-audit.yml diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml new file mode 100644 index 00000000..9e57cc8d --- /dev/null +++ b/.github/workflows/security-audit.yml @@ -0,0 +1,18 @@ +name: Security Audit +on: + pull_request: + paths: [Cargo.lock] + push: + branches: [main] + paths: [Cargo.lock] + schedule: + - cron: '0 0 * * *' + +jobs: + security_audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-rs/audit-check@v1.2.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file