Skip to content

Commit fb20d62

Browse files
committed
[actions] Trigger metadata zip generation only on master
1 parent e687546 commit fb20d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
# Only run this if the JSON validation was successful, in case there is an error in one of the JSON files
141141
# NOTE: This PAT will expire periodically, but Github should send a reminder to renew it.
142142
- name: Trigger installMetadata.zip build in python-patcher-metadata repo
143-
if: steps.filter.outputs.metadata-changed == 'true'
143+
if: github.ref == 'refs/heads/master' && steps.filter.outputs.metadata-changed == 'true'
144144
uses: benc-uk/workflow-dispatch@v1
145145
with:
146146
workflow: build.yml

0 commit comments

Comments
 (0)