From 5fa0e5520f119a076732f88063405828e40393e7 Mon Sep 17 00:00:00 2001 From: mkorwel Date: Tue, 21 Oct 2025 22:37:35 -0700 Subject: [PATCH] fix(lint): Explicitly set fetch-depth to 1 Explicitly sets 'fetch-depth: 1' in the checkout step of the 'lint.yml' workflow. This makes the default behavior of fetching only the most recent commit explicit for clarity and consistency with other jobs that perform shallow clones. --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4bf71d2b50..d8c0ef7dbe 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,6 +14,8 @@ jobs: steps: - name: 'Checkout' uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5 + with: + fetch-depth: 1 - name: 'Set up Node.js' uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' # ratchet:actions/setup-node@v4