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