diff --git a/.gitea/workflows/audit.yaml b/.gitea/workflows/audit.yaml new file mode 100644 index 0000000..49e771c --- /dev/null +++ b/.gitea/workflows/audit.yaml @@ -0,0 +1,18 @@ +name: Security audit +on: + push: + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + security_audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: rustsec/audit-check@v2.0.0 + with: + token: ${{ secrets.GH_TOKEN }}