From b1b572760212ad30c4abf75ab6aea42e06ed7003 Mon Sep 17 00:00:00 2001 From: Sam <39674930+sagoez@users.noreply.github.com> Date: Wed, 5 Aug 2026 15:30:57 +0100 Subject: [PATCH] ci: post PR activity to #pull-requests Opts into withoneai/infrastructure's reusable notifier. One Slack message per PR, edited in place as it moves. Delete this file to opt out. --- .github/workflows/pr-slack.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr-slack.yml diff --git a/.github/workflows/pr-slack.yml b/.github/workflows/pr-slack.yml new file mode 100644 index 0000000..2717ddd --- /dev/null +++ b/.github/workflows/pr-slack.yml @@ -0,0 +1,20 @@ +# Opt-in to the org's reusable PR notifier, which posts to #pull-requests and +# edits one message per PR in place. Copying this file is the only step - the +# SLACK_BOT_TOKEN secret and SLACK_PR_CHANNEL variable are org-wide. +# Source and docs: withoneai/infrastructure, CLAUDE.md "GitHub Actions". +# Delete this file to opt out. + +name: pr-slack + +on: + pull_request: + types: [opened, reopened, ready_for_review, converted_to_draft, closed] + pull_request_review: + types: [submitted] + push: + branches: [main, master] + +jobs: + notify: + uses: withoneai/infrastructure/.github/workflows/slack-pr-notify.yml@main + secrets: inherit