Skip to content

Commit aba571c

Browse files
committed
Avoid downloading artifact on pull-request
1 parent 35fb315 commit aba571c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ jobs:
127127
uses: actions/checkout@v6
128128

129129
- name: Checkout this repository ${{ env.PYDOC_VERSION }}
130+
if: ${{ contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name) }}
130131
uses: actions/checkout@v6
131132
with:
132133
ref: ${{ env.PYDOC_VERSION }}

0 commit comments

Comments
 (0)