From 80b3d068626efc9e87791ef11d72f0d03c72a14e Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Mon, 25 Nov 2024 09:55:37 -0500 Subject: [PATCH] ci: fix lint workflow for forks It looks like the lint workflow doesn't work for PRs from PRs. See this run for example (scroll to Checkout > Determining the checkout info): https://github.com/opennextjs/opennextjs-netlify/actions/runs/11981106242/job/33483732033?pr=2707. --- .github/workflows/lint.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d6585fc5ae..d5d00c16d3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - ref: ${{ github.head_ref }} fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v4