Skip to content

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

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

Changes in this pull request

  • 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.
  • make test and make check-format not run: workflow-only change; no Python or native SDK changes.
  • 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-python 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.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • If this is a stable release introducing a new major/minor version line, its tag has been added to api-docs/versions.json (patch releases and prereleases do not add entries). N/A: CI-only change, not a release.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment. N/A: no TODO items introduced.

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