Skip to content

Commit 5a56400

Browse files
authored
CI: fix git ref in format-check workflow (#37562)
1 parent f96d9f1 commit 5a56400

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/format_check.yml

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
- name: Checkout code (Unprivileged)
104104
uses: actions/checkout@v4
105105
with:
106+
ref: ${{ github.event.pull_request.head.ref }}
106107
fetch-depth: 1
107108
- name: Set up Python
108109
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)