Skip to content

Commit 15f5c7a

Browse files
authored
Merge pull request #6462 from FlowFuse/ci-bump-slack-github-action-branch-deploy
ci: Bump `slack-github-action` to `v2.2.1` in `Create pre-staging environment`
2 parents 5d6c972 + cad5106 commit 15f5c7a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/branch-deploy.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)