From 5ac70f62f23eb0aee39315f8a8d984399e103243 Mon Sep 17 00:00:00 2001 From: Rein Krul Date: Wed, 19 Aug 2026 11:12:11 +0200 Subject: [PATCH] ci: remove maintainer PR Slack notification workflow The notification isn't used by maintainers to actually review PRs. --- .github/workflows/maintainer-pr-notify.yml | 46 ---------------------- 1 file changed, 46 deletions(-) delete mode 100644 .github/workflows/maintainer-pr-notify.yml diff --git a/.github/workflows/maintainer-pr-notify.yml b/.github/workflows/maintainer-pr-notify.yml deleted file mode 100644 index 6577eae3a..000000000 --- a/.github/workflows/maintainer-pr-notify.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Notify on maintainer PR - -on: - pull_request_target: - types: [opened, ready_for_review] - branches: - - master - -permissions: {} - -jobs: - notify: - name: Slack notification - runs-on: ubuntu-latest - permissions: - pull-requests: read - if: | - github.event.pull_request.head.repo.full_name == github.repository && - !github.event.pull_request.draft && - contains(fromJSON('["woutslakhorst","reinkrul","gerardsn","stevenvegt"]'), github.event.pull_request.user.login) - steps: - - name: Send Slack message - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 - with: - webhook: ${{ secrets.SLACK_WEBHOOK_URL_NUTS_CORE_TEAM }} # webhook is linked to a specific slack channel - webhook-type: incoming-webhook - payload: | - { - "text": ${{ toJSON(format('New PR from maintainer {0}: {1}', github.event.pull_request.user.login, github.event.pull_request.title)) }}, - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": ${{ toJSON(format('*New PR from maintainer *', github.event.pull_request.user.login)) }} - } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": ${{ toJSON(format('<{0}|{1}>', github.event.pull_request.html_url, github.event.pull_request.title)) }} - } - } - ] - }