From 1da41b50d9659c6d2763971d489ed2e3efccf7de Mon Sep 17 00:00:00 2001 From: Justin Liao Date: Thu, 29 Feb 2024 13:25:20 -0800 Subject: [PATCH] Ignore .env.vault on reviewdog/action-detect-secrets --- .github/workflows/CI.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 318a41d..b2e6b9d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,13 +2,13 @@ name: CI on: [pull_request] - + permissions: read-all jobs: - eslint: + eslint: runs-on: ubuntu-latest - steps: + steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: @@ -21,7 +21,7 @@ jobs: reporter: github-pr-review fail_on_error: false eslint_flags: '**/*.{js,jsx}' - + detect-secrets: runs-on: ubuntu-latest steps: @@ -34,3 +34,4 @@ jobs: # Prevents false positives from failing job fail_on_error: false + detect_secrets_flags: --exclude-files ^.env.vault ^.git/*