add a hook to update the bot when lamm is updated
This commit is contained in:
19
.github/workflows/notify-bot-updated.yml
vendored
Normal file
19
.github/workflows/notify-bot-updated.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Trigger Bot Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger-bot-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Send repository dispatch
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.LAMM_TOKEN }}
|
||||||
|
run: |
|
||||||
|
curl -X POST -H "Accept: application/vnd.github.everest-preview+json" \
|
||||||
|
-H "Authorization: token $GITHUB_TOKEN" \
|
||||||
|
https://api.github.com/repos/minneelyyyy/bot/dispatches \
|
||||||
|
-d '{"event_type": "lamm-updated"}'
|
||||||
Reference in New Issue
Block a user