From 2c394dfc630e05f80dd6b957aca8de93e1177af3 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 8 Oct 2024 02:44:54 +0200 Subject: [PATCH] workflows: no audit on bots --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 860ff26..a316391 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,8 +13,10 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install + - name: audit + run: npm audit --production + if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' }} - name: Run scripts run: | npm run lint - npm audit --production npm test