diff --git a/.github/workflows/slack-pr-notifications.yml b/.github/workflows/slack-pr-notifications.yml index d910c67..3521ce4 100644 --- a/.github/workflows/slack-pr-notifications.yml +++ b/.github/workflows/slack-pr-notifications.yml @@ -1,7 +1,7 @@ name: Slack PR Notifications on: - pull_request: + pull_request_target: types: [opened, closed, reopened] branches: ["main"] pull_request_review: @@ -68,7 +68,7 @@ jobs: } >> "$GITHUB_OUTPUT" - name: Send Slack notification - uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0 + uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 with: webhook: ${{ secrets.SLACK_WEBHOOK_URL }} webhook-type: incoming-webhook