Skip to content

Commit 4ad63f1

Browse files
Merge branch 'main' into patch2
2 parents cfb9cf9 + 0ac108f commit 4ad63f1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17+
if: github.event_name == 'pull_request'
1718
with:
18-
ref: ${{ github.ref_name }}
19+
fetch-depth: 0
20+
ref: ${{ github.event.pull_request.head.ref }}
21+
- uses: actions/checkout@v4
22+
if: github.event_name == 'push'
1923
- uses: actions/setup-python@v5
2024
with:
2125
python-version: "3.12"

0 commit comments

Comments
 (0)