Skip to content

Commit e5a4d9a

Browse files
committed
Do not send holiday message
on comments posted on pull requests.
1 parent cb01975 commit e5a4d9a

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)