From 0a49d70820022f5c370a5507e727424ad02c204c Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 3 Apr 2026 03:42:19 +0200 Subject: [PATCH] chore: Add audit workflow --- .gitea/workflows/audit.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/audit.yaml 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 }}