From 330656f01e4e8cbcb965e809a95480790afca35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20S=C3=B8rensen?= Date: Thu, 5 Sep 2024 18:47:55 +0200 Subject: [PATCH] ci: trigger audit on push to pr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christina Sørensen --- .forgejo/workflows/audit.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/audit.yml b/.forgejo/workflows/audit.yml index 9a5fcfb..b98bf6b 100644 --- a/.forgejo/workflows/audit.yml +++ b/.forgejo/workflows/audit.yml @@ -12,11 +12,12 @@ on: - '**/Cargo.toml' - '**/Cargo.lock' - 'deny.toml' + pull_request: + branches: [main] jobs: security_audit: runs-on: native steps: - uses: actions/checkout@v4 - - uses: https://github.com/taiki-e/install-action@cargo-deny - name: Scan for vulnerabilities - run: cargo deny check + run: nix develop --accept-flake-config --command cargo deny check