This commit is contained in:
2023-09-07 17:54:43 +03:00
parent c016ef8a0f
commit aaa28eae67

17
.github/workflows/update_repo.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Dispatcher
on:
push:
branches: [main]
jobs:
dispatch:
name: Dispatch
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Dispatch to workflows
run: |
curl -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.ACTIONS_KEY }}" \
--request POST \
--data '{"event_type": "some_event", "client_payload": { "foo": "bar" }}' https://api.github.com/repos/house-of-vanity/arch_repo/dispatches