Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 37 additions & 37 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,40 +34,40 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.releases_created == 'true' }}
- name: Notify Slack
if: ${{ steps.release.outputs.releases_created == 'true' }}
id: slack
uses: slackapi/slack-github-action@v1.26.0
with:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "`@globus/sdk@${{ steps.release.outputs.tag_name }}` has been released!"
}
},
{
"type": "divider"
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text": "View Release Details on GitHub",
"emoji": true
},
"url": "${{ steps.release.outputs.html_url }}"
}
]
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
# - name: Notify Slack
# if: ${{ steps.release.outputs.releases_created == 'true' }}
# id: slack
# uses: slackapi/slack-github-action@v1.26.0
# with:
# channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
# payload: |
# {
# "blocks": [
# {
# "type": "section",
# "text": {
# "type": "mrkdwn",
# "text": "`@globus/sdk@${{ steps.release.outputs.tag_name }}` has been released!"
# }
# },
# {
# "type": "divider"
# },
# {
# "type": "actions",
# "elements": [
# {
# "type": "button",
# "text": {
# "type": "plain_text",
# "text": "View Release Details on GitHub",
# "emoji": true
# },
# "url": "${{ steps.release.outputs.html_url }}"
# }
# ]
# }
# ]
# }
# env:
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}