From 5e2d2ecf76f93cc93b30032d689a4db96522160d Mon Sep 17 00:00:00 2001 From: mkorwel Date: Tue, 21 Oct 2025 22:41:06 -0700 Subject: [PATCH] fix(lint): Set fetch-depth to 0 to ensure full git history Updates the checkout step in the 'lint.yml' workflow to use 'fetch-depth: 0'. This is necessary to prevent intermittent failures in the sensitive keyword linter, which requires a full git history to reliably compare the current branch against 'origin/main'. --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d8c0ef7dbe..16c3a9fdee 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: - name: 'Checkout' uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5 with: - fetch-depth: 1 + fetch-depth: 0 - name: 'Set up Node.js' uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' # ratchet:actions/setup-node@v4