Skip to content

Commit ff5650c

Browse files
committed
Updated workflow to use branch code
1 parent 0f59b6c commit ff5650c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,16 @@ jobs:
2323

2424
steps:
2525

26-
- name: "Checkout"
26+
- name: "Checkout PR"
2727
uses: "actions/checkout@v4"
2828
if: github.event_name == 'pull_request_target'
2929
with:
3030
ref: refs/pull/${{ github.event.pull_request.number }}/merge
3131

32+
- name: "Checkout Branch"
33+
uses: "actions/checkout@v4"
34+
if: github.event_name == 'push'
35+
3236
- name: "Set up Python ${{ matrix.python-version }}"
3337
uses: "actions/setup-python@v5"
3438
with:

0 commit comments

Comments
 (0)