Skip to content

Commit

Permalink
Remove Pantsbuild Slack Announce on release. (pex-tool#2361)
Browse files Browse the repository at this point in the history
The org has changed; so the SLACK_BOT_TOKEN org secret is not available
and this is noise over there anyhow. Folks can watch this repo's
Releases or else follow the Announcements Discussions if they're
interested.
  • Loading branch information
jsirois committed Feb 11, 2024
1 parent 186d476 commit 8e02e80
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,32 +103,3 @@ jobs:
files: dist/pex
fail_on_unmatched_files: true
discussion_category_name: Announcements
announce-release:
name: Announce Release
needs:
- determine-tag
- pypi
- github-release
runs-on: ubuntu-22.04
steps:
- name: Post Release Announcement to Pants Slack `#announce`
id: slack
uses: slackapi/slack-github-action@v1.23.0
with:
channel-id: "C18RRR4JK"
# N.B.: You can muck with the JSON blob and see the results rendered here:
# https://app.slack.com/block-kit-builder
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Pex ${{ needs.determine-tag.outputs.release-version }} is released:\n* https://pypi.org/project/pex/${{ needs.determine-tag.outputs.release-version }}/\n* https://github.com/pex-tool/pex/releases/tag/${{ needs.determine-tag.outputs.release-tag }}"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 8e02e80

Please sign in to comment.