From 5da66199e1d63ed52649a9e16a4bc016cda21bee Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 8 Oct 2024 02:42:38 +0200 Subject: [PATCH] workflows: no audit on bots --- .github/workflows/lint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f92e2184..4b0d480b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,5 +22,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci - - run: npm audit + - if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' }} + run: npm audit - run: npm run lint