diff --git a/.github/workflows/release-notification.yml b/.github/workflows/release-notification.yml deleted file mode 100644 index 57011ff8..00000000 --- a/.github/workflows/release-notification.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Release Notification - -on: - release: - types: [released] - -jobs: - send-slack-notification: - runs-on: ubuntu-latest - timeout-minutes: 2 - steps: - - name: Send slack notification - id: slack - uses: slackapi/slack-github-action@v1.25.0 - with: - channel-id: 'C012YFE3D6D' - slack-message: "core-lib-csharp release has been triggered!" - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c1930a5..300b46c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,3 +39,12 @@ jobs: tag: ${{ steps.tag_version.outputs.new_tag }} name: Release Version ${{ github.event.inputs.Version }} body: ${{ steps.tag_version.outputs.changelog }} + + - name: Send slack notification + id: slack + uses: slackapi/slack-github-action@v1.25.0 + with: + channel-id: 'C012YFE3D6D' + slack-message: "core-lib-csharp release has been triggered!" + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}