We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 878c44f commit 09e04f4Copy full SHA for 09e04f4
1 file changed
.github/workflows/notify-bulletin.yml
@@ -0,0 +1,24 @@
1
+---
2
+name: Notify Bulletin
3
+
4
+on:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ publish:
11
+ runs-on: ubuntu-latest
12
+ if: github.repository == 'thealphacubicle/OpenContext'
13
14
+ steps:
15
+ - name: Publish bulletin
16
+ run: |
17
+ curl --fail -X POST https://opencontext-mcp.vercel.app/api/bulletin/publish \
18
+ -H "Content-Type: application/json" \
19
+ -H "X-Bulletin-Secret: ${{ secrets.BULLETIN_SECRET }}" \
20
+ -d '{
21
+ "commits": ${{ toJson(github.event.commits.*.message) }},
22
+ "pusher": "${{ github.actor }}",
23
+ "compare_url": "${{ github.event.compare }}"
24
+ }'
0 commit comments