Skip to content

Commit ce74479

Browse files
committed
Merge branch 'master' into test_ci
2 parents 9bc15c0 + dffab2c commit ce74479

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build_py_tools.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ jobs:
7878
- name: Checkout user repository
7979
uses: actions/checkout@v4
8080
with:
81+
fetch-depth: 2
8182
persist-credentials: false
8283
token: ${{ steps.create_token.outputs.token }}
83-
ref: refs/pull/${{ github.event.number }}/merge
84+
ref: "${{ github.event.pull_request.merge_commit_sha }}"
8485

8586
# To avoid giving unknown scripts elevated permissions, download them from the master branch
8687
- name: Get CI scripts from master (Linux and macOS)

0 commit comments

Comments
 (0)