Skip to content

Commit 6a79437

Browse files
ci: checkout the actual ref instead of github's merge commit
1 parent bb9d3f8 commit 6a79437

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/lint_test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
# Checks out the repository in the current folder.
4747
- name: Checks out repository
4848
uses: actions/checkout@v2
49+
with:
50+
fetch-depth: 2
51+
ref: ${{ github.head_ref }}
52+
4953

5054
# Set up the right version of Python
5155
- name: Set up Python ${{ env.PYTHON_VERSION }}

0 commit comments

Comments
 (0)