Repository navigation
Conversation
Posts each published GitHub Release to the release announcements channel, matching the Slack CLI and Node SDK workflows.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1671 +/- ##
============================================
+ Coverage 73.28% 73.29% +0.01%
- Complexity 4653 4654 +1
============================================
Files 486 486
Lines 14654 14654
Branches 1524 1524
============================================
+ Hits 10739 10741 +2
+ Misses 3012 3011 -1
+ Partials 903 902 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
| - name: Notify Slack | ||
| uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 | ||
| with: | ||
| webhook: ${{ secrets.SLACK_RELEASE_ANNOUNCEMENTS_WEBHOOK_URL }} |
There was a problem hiding this comment.
note: Confirmed the SLACK_RELEASE_ANNOUNCEMENTS_WEBHOOK_URL org secret is shared with this repo, so the workflow can post on the next release. 🔐
| webhook-type: webhook-trigger | ||
| payload: | | ||
| action_url: "${{ github.event.release.html_url }}" | ||
| message: "java-slack-sdk ${{ github.event.release.tag_name }}" |
There was a problem hiding this comment.
note: This uses the same <repo> <tag> format as the Slack CLI announcement, so v1.53.0 would read java-slack-sdk v1.53.0. Happy to change it if we'd rather have something else, like the release name.
This pull request posts each published GitHub Release to our internal release announcements channel, so maintainers no longer share Java SDK releases by hand. It uses the same webhook and message shape as the Slack CLI and Node SDK release workflows.
release-announcement.ymlworkflow runs onrelease: publishedand skips prereleases and forks.release.ymlalso publishes snapshots, and the GitHub Release is created by hand after the Maven publish.Testing
SLACK_RELEASE_ANNOUNCEMENTS_WEBHOOK_URLorg secret is shared with this repo.Category (place an
xin each of the[ ])Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.