From a0384f35d5ae3b7f66506cc62dda25d9bb673f49 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Wed, 3 Sep 2025 23:18:11 -0400 Subject: [PATCH] Delete .github/workflows/discord-pr-notify.yml --- .github/workflows/discord-pr-notify.yml | 26 ------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/discord-pr-notify.yml diff --git a/.github/workflows/discord-pr-notify.yml b/.github/workflows/discord-pr-notify.yml deleted file mode 100644 index 88c918edfe..0000000000 --- a/.github/workflows/discord-pr-notify.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Discord PR Notifier - -on: - workflow_dispatch: - pull_request_target: - types: [opened] - -jobs: - notify: - runs-on: ubuntu-latest - if: github.head_ref != 'changeset-release/main' - steps: - - name: Send Discord Notification - run: | - PAYLOAD=$(jq -n \ - --arg title "${{ github.event.pull_request.title }}" \ - --arg url "${{ github.event.pull_request.html_url }}" \ - --arg author "${{ github.event.pull_request.user.login }}" \ - '{ - content: ("šŸš€ **New PR:** " + $title + "\nšŸ”— <" + $url + ">\nšŸ‘¤ **Author:** " + $author), - thread_name: ($title + " by " + $author) - }') - - curl -X POST "${{ secrets.DISCORD_WEBHOOK }}" \ - -H "Content-Type: application/json" \ - -d "$PAYLOAD"