From dfe706cd458d0614bd1483c1b58705a21fea6de5 Mon Sep 17 00:00:00 2001 From: Alvaro Gaona Date: Sun, 9 Aug 2026 02:03:39 +0200 Subject: [PATCH] ci: add weekly cargo-audit Adds the scheduled RustSec advisory scan this repository lacked. bridge was the only Rust repository in the org with dependency scanning. Mirrors bridge's workflow: weekly on Monday, manually dispatchable, and it reads Cargo.lock without fetching git dependencies, so it needs no credentials. --- .github/workflows/audit.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/audit.yaml diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml new file mode 100644 index 0000000..b82ad77 --- /dev/null +++ b/.github/workflows/audit.yaml @@ -0,0 +1,20 @@ +name: audit + +on: + schedule: + - cron: "0 6 * * 1" + workflow_dispatch: + +permissions: + contents: read + issues: write + +jobs: + audit: + name: cargo-audit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: rustsec/audit-check@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }}