We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2fcaf0 commit bc40f65Copy full SHA for bc40f65
.github/workflows/notify-milestone.yml
@@ -0,0 +1,20 @@
1
+name: Notify releases repo
2
+
3
+on:
4
+ milestone:
5
+ types: [created, edited]
6
7
+jobs:
8
+ notify:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Dispatch to releases repo
12
+ env:
13
+ GH_TOKEN: ${{ secrets.MM_RELEASES_SYNC_TOKEN }}
14
+ run: |
15
+ gh api repos/MerginMaps/releases/dispatches \
16
+ --method POST \
17
+ -f event_type=milestone-${{ github.event.action }} \
18
+ -f 'client_payload[repo]=${{ github.repository }}' \
19
+ -f 'client_payload[milestone_title]=${{ github.event.milestone.title }}' \
20
+ -f 'client_payload[milestone_url]=${{ github.event.milestone.html_url }}'
0 commit comments