Skip to content

Commit

Permalink
Disable slack webhook
Browse files Browse the repository at this point in the history
Issue gh-50
  • Loading branch information
sjohnr committed Jul 15, 2024
1 parent f1ab07d commit b0a7b76
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/perform-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ on:
required: false
GH_ACTIONS_REPO_TOKEN:
required: true
SPRING_RELEASE_SLACK_WEBHOOK_URL:
required: true

env:
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
Expand Down Expand Up @@ -114,27 +112,7 @@ jobs:
env:
VERSION: ${{ steps.project-version.outputs.version }}
run: ./gradlew closeMilestone -PnextVersion=$VERSION -PgitHubAccessToken=$TOKEN
- name: Announce Release on Slack
uses: slackapi/[email protected]
env:
VERSION: ${{ steps.project-version.outputs.version }}
SLACK_ANNOUNCING_ID: ${{ inputs.slack-announcing-id }}
SLACK_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
with:
payload: |
{
"text": "${{ env.SLACK_ANNOUNCING_ID }} `${{ env.VERSION }}` is available now",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "${{ env.SLACK_ANNOUNCING_ID }} `${{ env.VERSION }}` is available now"
}
}
]
}
# TODO: Add integration with GChat for #spring-release channel.
next-development-version:
name: Next Development Version
runs-on: ubuntu-latest
Expand Down

0 comments on commit b0a7b76

Please sign in to comment.