From cf2214c3f125de343d852d6f9fc2099110030b95 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 9 Nov 2023 17:20:44 -0500 Subject: [PATCH] Try with `created` type for `release` event * Disable Slack notification to avoid noise --- .github/workflows/ci-close-milestone.yml | 2 +- .../workflows/close-milestone-on-release.yml | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-close-milestone.yml b/.github/workflows/ci-close-milestone.yml index 1610783..1bf8171 100644 --- a/.github/workflows/ci-close-milestone.yml +++ b/.github/workflows/ci-close-milestone.yml @@ -3,7 +3,7 @@ name: Close Milestone on: release: types: - - published + - created jobs: close-milestone: diff --git a/.github/workflows/close-milestone-on-release.yml b/.github/workflows/close-milestone-on-release.yml index d52a5f0..70bede4 100644 --- a/.github/workflows/close-milestone-on-release.yml +++ b/.github/workflows/close-milestone-on-release.yml @@ -36,13 +36,13 @@ jobs: OWNER: ${{ github.repository_owner }} REPO: ${{ github.event.repository.name }} - - 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 `${{ steps.milestone-id.outputs.version }}`" - } +# - 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 `${{ steps.milestone-id.outputs.version }}`" +# }