Skip to content

ci: add main-branch Slack failure alerts - #297

Draft
ale-adobe wants to merge 1 commit into
mainfrom
ale-adobe/main-ci-slack-alerts
Draft

ale-adobe wants to merge 1 commit into
mainfrom
ale-adobe/main-ci-slack-alerts

Conversation

@ale-adobe

Copy link
Copy Markdown
Contributor

Summary

  • Add main-branch CI Slack alerts using the same caller as c2pa-rs, pinned to shared workflow commit 7b8900a81224878b0671d1a60018939048572716.
  • Monitor all workflows on main, including future additions. The shared notifier filters out pull-request/fork runs and its own workflow.
  • Check persistent failures at 03:00 and 15:00 UTC, with manual dispatch available for a labeled Slack delivery test.
  • Keep permissions limited to actions: read; no checkout or changes to existing CI jobs.

Validation

  • actionlint main-ci-slack.yml passed.
  • Caller verified byte-for-byte identical to the existing c2pa-rs integration.
  • SDK build/tests not run: workflow-only change.
  • Live Slack delivery not tested; workflow_run delivery requires this workflow on the default branch. Manual dispatch sends a real Slack message.

Required setup before enabling

An organization admin must grant contentauth/c2pa-cpp access to the organization Actions secret SLACK_WEBHOOK_URL, or configure a repository secret with that name. Neither the repository secrets nor the organization secrets currently available to this repository include it.

Reuse the pinned c2pa-rs notifier for all main-branch workflows.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants