Skip to content

Commit b0a7b76

Browse files
committed
Disable slack webhook
Issue gh-50
1 parent f1ab07d commit b0a7b76

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/perform-release.yml

+1-23
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ on:
3939
required: false
4040
GH_ACTIONS_REPO_TOKEN:
4141
required: true
42-
SPRING_RELEASE_SLACK_WEBHOOK_URL:
43-
required: true
4442

4543
env:
4644
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
@@ -114,27 +112,7 @@ jobs:
114112
env:
115113
VERSION: ${{ steps.project-version.outputs.version }}
116114
run: ./gradlew closeMilestone -PnextVersion=$VERSION -PgitHubAccessToken=$TOKEN
117-
- name: Announce Release on Slack
118-
uses: slackapi/[email protected]
119-
env:
120-
VERSION: ${{ steps.project-version.outputs.version }}
121-
SLACK_ANNOUNCING_ID: ${{ inputs.slack-announcing-id }}
122-
SLACK_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }}
123-
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
124-
with:
125-
payload: |
126-
{
127-
"text": "${{ env.SLACK_ANNOUNCING_ID }} `${{ env.VERSION }}` is available now",
128-
"blocks": [
129-
{
130-
"type": "section",
131-
"text": {
132-
"type": "mrkdwn",
133-
"text": "${{ env.SLACK_ANNOUNCING_ID }} `${{ env.VERSION }}` is available now"
134-
}
135-
}
136-
]
137-
}
115+
# TODO: Add integration with GChat for #spring-release channel.
138116
next-development-version:
139117
name: Next Development Version
140118
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)