Skip to content

Commit 2ffa90c

Browse files
committed
Add GChat notification for scheduled release failure
Issue gh-50
1 parent 79ad288 commit 2ffa90c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/update-scheduled-release-version.yml

+10
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
required: false
1414
GH_ACTIONS_REPO_TOKEN:
1515
required: true
16+
SPRING_SECURITY_CI_GCHAT_WEBHOOK_URL:
17+
required: true
1618

1719
env:
1820
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
@@ -60,3 +62,11 @@ jobs:
6062
git tag $VERSION
6163
git push
6264
git push origin $VERSION
65+
- name: Send Notification
66+
if: failure()
67+
uses: spring-io/spring-security-release-tools/.github/actions/send-notification@v1
68+
with:
69+
webhook-url: ${{ secrets.SPRING_SECURITY_CI_GCHAT_WEBHOOK_URL }}
70+
status: ${{ job.status }}
71+
build-scan-url: ${{ steps.build-and-publish.outputs.build-scan-url }}
72+
run-name: ${{ format('spring-security/{0}', github.ref_name) }}

0 commit comments

Comments
 (0)