We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af548aa commit 11a8817Copy full SHA for 11a8817
.github/workflows/preview-build.yml
@@ -239,7 +239,7 @@ jobs:
239
240
- name: Comment on PR
241
continue-on-error: true
242
- if: inputs.disable-comments != 'true' && env.MATCH == 'true' && steps.deployment.outputs.result && steps.check-files.outputs.all_changed_files
+ if: startsWith(github.event_name, 'pull_request') && inputs.disable-comments != 'true' && env.MATCH == 'true' && steps.deployment.outputs.result && steps.check-files.outputs.all_changed_files
243
uses: actions/github-script@v7
244
env:
245
ALL_CHANGED_FILES: ${{ steps.check-files.outputs.all_changed_files }}
0 commit comments