Skip to content

Commit de15cce

Browse files
tiborpilzTibor Pilz
authored and
Tibor Pilz
committed
ci: use pr sha for checkout
1 parent 81ec905 commit de15cce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
runs-on: ubuntu-18.04
99
steps:
1010
- uses: actions/checkout@v3
11+
with:
12+
ref: ${{ github.event.pull_request.head.sha }}
13+
1114
- uses: actions/setup-python@v4
1215
with:
1316
python-version: "3.10"
@@ -19,6 +22,7 @@ jobs:
1922
installer-parallel: true
2023
- name: Install Dependencies
2124
run: poetry install --no-interaction --no-root
25+
2226
- name: Test
2327
run: |
2428
poetry run pytest --cov=commitomatic --cov-report=xml

0 commit comments

Comments
 (0)