From 121b8b231c048f27bfd32ca24ea2b015372b16a5 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 15 Nov 2023 12:53:03 -0500 Subject: [PATCH] Bring back Slack notification step --- .github/workflows/spring-finalize-release.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/spring-finalize-release.yml b/.github/workflows/spring-finalize-release.yml index beeece24..955661ee 100644 --- a/.github/workflows/spring-finalize-release.yml +++ b/.github/workflows/spring-finalize-release.yml @@ -45,13 +45,13 @@ jobs: gh api -X PATCH repos/$GITHUB_REPOSITORY/milestones/$MILESTONE_ID -f state='closed' --silent fi -# - name: Announce Release on Slack -# uses: slackapi/slack-github-action@v1.24.0 -# env: -# SLACK_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }} -# SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK -# with: -# payload: | -# { -# "text": "${{ github.event.repository.name }}-announcing `${{ env.MILESTONE }}`" -# } \ No newline at end of file + - name: Announce Release on Slack + uses: slackapi/slack-github-action@v1.24.0 + env: + SLACK_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK + with: + payload: | + { + "text": "${{ github.event.repository.name }}-announcing `${{ env.MILESTONE }}`" + } \ No newline at end of file