From 5795df02f791400b3f8271fc7a77148f82745a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Mon, 14 Oct 2024 10:44:24 +0200 Subject: [PATCH 1/2] ci: migrate to maintained rustsec/audit-check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- .github/workflows/security_audit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security_audit.yml b/.github/workflows/security_audit.yml index 9e305d9e4b..9e3f2736c7 100644 --- a/.github/workflows/security_audit.yml +++ b/.github/workflows/security_audit.yml @@ -8,6 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rs/audit-check@v1 + - uses: rustsec/audit-check@v2 with: token: ${{ secrets.GITHUB_TOKEN }} From 7077342a3262e527e1bd3d3249a5ecb93b7fd992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Mon, 14 Oct 2024 10:49:09 +0200 Subject: [PATCH 2/2] ci: also run audit on changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- .github/workflows/security_audit.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/security_audit.yml b/.github/workflows/security_audit.yml index 9e3f2736c7..d1e0d9f319 100644 --- a/.github/workflows/security_audit.yml +++ b/.github/workflows/security_audit.yml @@ -1,8 +1,11 @@ name: Security audit on: + push: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' schedule: - cron: '0 0 * * *' - jobs: security_audit: runs-on: ubuntu-latest