diff --git a/.github/actions/app-insights-to-slack/action.yml b/.github/actions/app-insights-to-slack/action.yml index 95d551cac..11e172bd9 100644 --- a/.github/actions/app-insights-to-slack/action.yml +++ b/.github/actions/app-insights-to-slack/action.yml @@ -147,6 +147,6 @@ runs: uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 with: method: chat.postMessage - token: ${{ secrets.SLACK_BOT_TOKEN }} - channel-id: probation-integration-notifications + token: ${{ inputs.slack_token }} + channel: ${{ inputs.slack_channel }} payload: ${{ steps.transform.outputs.result }} diff --git a/.github/workflows/readonly.yml b/.github/workflows/readonly.yml index 81a4718bd..00867fff5 100644 --- a/.github/workflows/readonly.yml +++ b/.github/workflows/readonly.yml @@ -218,7 +218,7 @@ jobs: with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} - channel-id: probation-integration-notifications + channel: probation-integration-notifications payload: | { "blocks": [ @@ -268,7 +268,7 @@ jobs: with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} - channel-id: probation-integration-notifications + channel: probation-integration-notifications payload: | { "blocks": [ diff --git a/.github/workflows/reminders.yml b/.github/workflows/reminders.yml index cd6e54e47..abc064d34 100644 --- a/.github/workflows/reminders.yml +++ b/.github/workflows/reminders.yml @@ -67,5 +67,5 @@ jobs: with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} - channel-id: probation-integration-notifications + channel: probation-integration-notifications payload: ${{ steps.transform.outputs.result }}