Skip to content

Commit f4023fd

Browse files
authored
Merge pull request #37 from MisRob/fix-pr-reply
Do not send holiday message on pull request comments
2 parents 5c83635 + e5a4d9a commit f4023fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/holiday-message.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
post-holiday-message:
2525
name: Post holiday message
2626
needs: [check-if-contributor]
27-
if: ${{ needs.check-if-contributor.outputs.is_contributor == 'true' }}
27+
if: ${{ (github.event.pull_request || !github.event.issue.pull_request) && needs.check-if-contributor.outputs.is_contributor == 'true' }}
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Generate App Token

0 commit comments

Comments
 (0)