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.
This commit is contained in:
JC Grünhage
2025-03-13 09:17:33 +01:00
committed by GitHub
parent 507353404c
commit afc9524bc7

View File

@@ -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: