From e5a4d9a34475f85756a411aa48e36b39de534d80 Mon Sep 17 00:00:00 2001 From: Michaela Robosova Date: Fri, 5 Dec 2025 18:51:18 +0100 Subject: [PATCH] Do not send holiday message on comments posted on pull requests. --- .github/workflows/holiday-message.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/holiday-message.yml b/.github/workflows/holiday-message.yml index 8a67a2f..f88c45d 100644 --- a/.github/workflows/holiday-message.yml +++ b/.github/workflows/holiday-message.yml @@ -24,7 +24,7 @@ jobs: post-holiday-message: name: Post holiday message needs: [check-if-contributor] - if: ${{ needs.check-if-contributor.outputs.is_contributor == 'true' }} + if: ${{ (github.event.pull_request || !github.event.issue.pull_request) && needs.check-if-contributor.outputs.is_contributor == 'true' }} runs-on: ubuntu-latest steps: - name: Generate App Token