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