From afc9524bc7b6c6edbe22d98f780260ce90ef0b90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JC=20Gr=C3=BCnhage?= Date: Thu, 13 Mar 2025 09:17:33 +0100 Subject: [PATCH] fix(ci): run lint-release-pr on head-ref (#11206) ## Problem #11061 changed release pr creation, and I missed that the workflow will checkout a would-be-merge of the rc branch and the release branch instead of the head ref, unless explicitly instructed otherwise. ## Summary of changes Check out head ref for linting the release PRs. --- .github/workflows/lint-release-pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lint-release-pr.yml b/.github/workflows/lint-release-pr.yml index f12ddfe377..b7d010f66d 100644 --- a/.github/workflows/lint-release-pr.yml +++ b/.github/workflows/lint-release-pr.yml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # Fetch full history for git operations + ref: ${{ github.event.pull_request.head.ref }} - name: Run lint script env: