summaryrefslogtreecommitdiff
path: root/deps/rabbit_common/.github/workflows/webhooks.yml
diff options
context:
space:
mode:
Diffstat (limited to 'deps/rabbit_common/.github/workflows/webhooks.yml')
-rw-r--r--deps/rabbit_common/.github/workflows/webhooks.yml18
1 files changed, 0 insertions, 18 deletions
diff --git a/deps/rabbit_common/.github/workflows/webhooks.yml b/deps/rabbit_common/.github/workflows/webhooks.yml
deleted file mode 100644
index 17fb1a144d..0000000000
--- a/deps/rabbit_common/.github/workflows/webhooks.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-# https://help.github.com/en/actions/reference/events-that-trigger-workflows#external-events-repository_dispatch
-# https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#example-calling-the-rest-api
-# https://developer.github.com/v3/repos/#create-a-repository-dispatch-event
-name: Webhook triggers
-on:
- push:
- branches:
- - master
-jobs:
- rabbitmq-server:
- runs-on: ubuntu-latest
- steps:
- - name: New commit to rabbitmq-common master branch
- run: |
- curl --silent --fail --url https://api.github.com/repos/rabbitmq/rabbitmq-server/dispatches \
- --header "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
- --header "Content-Type: application/json" \
- --data '{ "event_type": "new-commit-to-dep-release-branch", "client_payload": { "dep": "rabbitmq-common" } }'