From 6002f8ff0b8cf6aafba92451d967ef6312202e2d Mon Sep 17 00:00:00 2001 From: Dan Mills <52407433+daniel-mills-cqc@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:27:27 +0000 Subject: [PATCH] ci: Update to slack github action v4 --- .github/workflows/pytket_benchmarking.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytket_benchmarking.yml b/.github/workflows/pytket_benchmarking.yml index 7d5b388966..ee0ec884a7 100644 --- a/.github/workflows/pytket_benchmarking.yml +++ b/.github/workflows/pytket_benchmarking.yml @@ -102,8 +102,9 @@ jobs: id: slack uses: slackapi/slack-github-action@v2.0.0 with: - channel-id: 'G01CP0YFFA7' - slack-message: '${{ env.RETURN_TEST }} Release tag: ${{ github.event.release.tag_name }}.' + token: ${{ secrets.PYTKET_BENCHMARKING_SLACK_BOT_TOKEN }} + payload: | + channel: 'G01CP0YFFA7' + text: '${{ env.RETURN_TEST }} Release tag: ${{ github.event.release.tag_name }}.' env: - SLACK_BOT_TOKEN: ${{ secrets.PYTKET_BENCHMARKING_SLACK_BOT_TOKEN }} RETURN_TEST: ${{ env.RETURN_TEST }}