From 7b9918f43b426c487adcf7743de5b23786cedc4e Mon Sep 17 00:00:00 2001 From: "stoat-tofu[bot]" <242700035+stoat-tofu[bot]@users.noreply.github.com> Date: Sat, 10 Jan 2026 13:19:22 +0000 Subject: [PATCH] chore: modify .github/workflows/release-webhook.yml --- .github/workflows/release-webhook.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release-webhook.yml diff --git a/.github/workflows/release-webhook.yml b/.github/workflows/release-webhook.yml new file mode 100644 index 0000000..41e8565 --- /dev/null +++ b/.github/workflows/release-webhook.yml @@ -0,0 +1,19 @@ +name: Release Webhook + +on: + workflow_dispatch: + release: + types: [published] + +jobs: + release-webhook: + name: Send Release Webhook + runs-on: ubuntu-latest + + steps: + - name: Send release notification webhook + run: | + RELEASE_URL="https://github.com/${{ github.repository }}/releases/tag/${{ needs.release-please.outputs.tag_name }}" + curl -X POST "${{ secrets.STOAT_WEBHOOK_UPDATES_URL }}" \ + -H "Content-Type: application/json" \ + -d "{\"content\": \"$RELEASE_URL\"}"