From cb75d70a355dc7a8627408fc53a782562fb4904a Mon Sep 17 00:00:00 2001 From: Austin Le Date: Tue, 1 Dec 2026 13:49:58 -0800 Subject: [PATCH] ci: add main-branch Slack failure alerts Reuse the pinned c2pa-rs notifier for all main-branch workflows. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/main-ci-slack.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main-ci-slack.yml diff --git a/.github/workflows/main-ci-slack.yml b/.github/workflows/main-ci-slack.yml new file mode 100644 index 0000000..df70a04 --- /dev/null +++ b/.github/workflows/main-ci-slack.yml @@ -0,0 +1,24 @@ +name: Main CI Slack alerts + +on: + workflow_run: + workflows: ['*'] + types: [completed] + branches: [main] + workflow_dispatch: + schedule: + - cron: '0 3,15 * * *' # 03:00 UTC and 15:00 UTC. + +permissions: + actions: read + +jobs: + notify: + uses: contentauth/ci-workflows/.github/workflows/ci-slack.yml@7b8900a81224878b0671d1a60018939048572716 + with: + branch: main + workflow-names: '["*"]' + caller-workflow-path: .github/workflows/main-ci-slack.yml + test-delivery: ${{ github.event_name == 'workflow_dispatch' }} + secrets: + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}