File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -533,11 +533,13 @@ jobs:
533533
534534 - name : Post to a Slack channel
535535 id : slack
536- uses : slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27 .1
536+ uses : slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1 .1
537537 with :
538- channel-id : ' C067BD0377F'
538+ method : ' chat.postMessage'
539+ token : ${{ secrets.SLACK_GHBOT_TOKEN }}
539540 payload : |
540541 {
542+ "channel": "C067BD0377F",
541543 "blocks": [
542544 {
543545 "type": "header",
@@ -591,7 +593,6 @@ jobs:
591593 PR_TEXT : |
592594 *Pull Request:*
593595 <https://github.com/FlowFuse/flowfuse/pull/${{ env.PR_NUMBER }}|${{ github.event.pull_request.title }}>
594- SLACK_BOT_TOKEN : ${{ secrets.SLACK_GHBOT_TOKEN }}
595596 GRAFANA_URL : ${{ secrets.STAGING_GRAFANA_URL }}
596597
597598
You can’t perform that action at this time.
0 commit comments