We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Announce Release in Chat
release.yml
1 parent 23f6a71 commit 3b65003Copy full SHA for 3b65003
.github/workflows/release.yml
@@ -81,3 +81,16 @@ jobs:
81
with:
82
milestone: ${{ needs.build-and-stage-release.outputs.version }}
83
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
84
+ announce-release-in-chat:
85
+ name: Announce Release in Chat
86
+ needs:
87
+ - build-and-stage-release
88
+ - create-github-release
89
+ runs-on: ubuntu-latest
90
+ steps:
91
+ - name: Announce Release in Chat
92
+ if: env.CHAT_WEBHOOK_URL
93
+ run: |
94
+ curl -X POST '${{ env.CHAT_WEBHOOK_URL }}' -H 'Content-Type: application/json' -d '{ text: "${{ github.event.repository.name }}-announcing `${{ needs.build-and-stage-release.outputs.version }}`"}'
95
+ env:
96
+ CHAT_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_GCHAT_WEBHOOK_URL }}
0 commit comments