We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4af29b0 commit 7b85dc0Copy full SHA for 7b85dc0
1 file changed
.github/workflows/homebrew-update.yml
@@ -0,0 +1,21 @@
1
+name: Notify Homebrew Update
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ notify-homebrew:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Create update issue
12
+ run: |
13
+ curl -X POST \
14
+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
15
+ -H "Accept: application/vnd.github.v3+json" \
16
+ https://api.github.com/repos/aws/homebrew-tap/issues \
17
+ -d '{
18
+ "title": "Update eksctl to ${{ github.event.release.tag_name }}",
19
+ "body": "New eksctl release ${{ github.event.release.tag_name }} is available.\n\nRelease URL: ${{ github.event.release.html_url }}",
20
+ "labels": ["eksctl-update"]
21
+ }'
0 commit comments