From 383d909b1f586467b8dbac12a5c3dfe98aa882ca 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 | 19 +++++++++++++++++++ 1 file changed, 19 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..ab8a2bc --- /dev/null +++ b/.gitea/workflows/audit.yaml @@ -0,0 +1,19 @@ +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@v6 + - uses: dtolnay/rust-toolchain@stable + - uses: rustsec/audit-check@v2.0.0 + with: + token: ${{ secrets.GH_TOKEN }}