From 90bbed05c7f55e613fb7801664346c316949bfb5 Mon Sep 17 00:00:00 2001 From: Tom Martensen Date: Thu, 26 Nov 2026 10:59:48 +0100 Subject: [PATCH 1/2] Update Slack channel ID in workflow Switch to #acs-sig-secured-cluster --- .github/workflows/push-networks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-networks.yaml b/.github/workflows/push-networks.yaml index 8b0615d..a391d5d 100644 --- a/.github/workflows/push-networks.yaml +++ b/.github/workflows/push-networks.yaml @@ -131,7 +131,7 @@ jobs: - name: Post to Slack channel team-acs-sensor-ecosystem-interruptions uses: slackapi/slack-github-action@v2.1.1 with: - channel-id: "C08D1NHBF8B" + channel-id: "C0BJ6CMUDTJ" payload: >- { "blocks": [ From 414f0b3aeb45c125c492da468f43d3abac3279f7 Mon Sep 17 00:00:00 2001 From: Tom Martensen Date: Thu, 26 Nov 2026 11:25:08 +0100 Subject: [PATCH 2/2] fix(ci): Migrate Slack notify step to slack-github-action v2 inputs The notify step still used the v1-era channel-id input, which slack-github-action v2 does not support. Since the v2 bump in #158, the action received neither method nor webhook, threw a configuration error, and (with errors defaulting to false) silently exited without posting anything. Switch to the v2 technique: method chat.postMessage, token via the token input, and the destination channel in the payload. Also drop the now-unused SLACK_BOT_TOKEN env and update the step name to the new channel. Co-Authored-By: Claude Code --- .github/workflows/push-networks.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push-networks.yaml b/.github/workflows/push-networks.yaml index a391d5d..800d89c 100644 --- a/.github/workflows/push-networks.yaml +++ b/.github/workflows/push-networks.yaml @@ -125,15 +125,14 @@ jobs: if: failure() && (github.event_name == 'schedule' || (github.event.inputs.dry-run == 'false' && github.event_name == 'workflow_dispatch')) # Only trigger on failures of schedule & manual non-dry runs needs: run-and-upload runs-on: ubuntu-latest - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} steps: - - name: Post to Slack channel team-acs-sensor-ecosystem-interruptions + - name: Post to Slack channel acs-sig-secured-cluster uses: slackapi/slack-github-action@v2.1.1 with: - channel-id: "C0BJ6CMUDTJ" + method: chat.postMessage + token: ${{ secrets.SLACK_BOT_TOKEN }} payload: >- - { "blocks": [ + { "channel": "C0BJ6CMUDTJ", "blocks": [ { "type": "section", "text": { "type": "mrkdwn", "text": ":red-warning: Daily update of external networks for defintions.stackrox.io failed! :red-warning:\nRefer to the Workflow logs for more information."}},