From a68fb53348a5e5dba726fde7a377d3d0e3037712 Mon Sep 17 00:00:00 2001 From: Steve Fulmer Date: Mon, 13 Jul 2026 09:14:37 -0400 Subject: [PATCH] fix(ci): skip Slack notification for fork PR reviews pull_request_review events from fork PRs cannot access repo secrets, causing the Slack notification step to fail with "Missing input". Skip the notify job for fork PR reviews since the webhook URL is unavailable. pull_request_target events are unaffected and continue to send notifications for all PRs. --- .github/workflows/slack-pr-notifications.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/slack-pr-notifications.yml b/.github/workflows/slack-pr-notifications.yml index 3521ce4..dc76632 100644 --- a/.github/workflows/slack-pr-notifications.yml +++ b/.github/workflows/slack-pr-notifications.yml @@ -12,6 +12,7 @@ permissions: {} jobs: notify: runs-on: ubuntu-latest + if: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'pull_request_target' }} steps: - name: Set notification details id: details