Skip to content

Notify release-automation on release via repository_dispatch - #469

Closed
boddumanohar wants to merge 1 commit into
mainfrom
ci/notify-release-automation
Closed

boddumanohar wants to merge 1 commit into
mainfrom
ci/notify-release-automation

Conversation

@boddumanohar

Copy link
Copy Markdown
Member

Summary

  • release-automation's certified-operators.yml/community-operators.yml were listening for a workflow_run named Release. That trigger only observes workflows in the same repository, and no workflow named Release exists in either repo — confirmed via gh run list that these pipelines have never run, ever.
  • Adds a final step to operator_release.yaml that fires a repository_dispatch (event_type: operator-release, client_payload.tag) to simplyblock/release-automation once the OLM bundle is uploaded to the GitHub release.
  • Paired with simplyblock/release-automation@87150f4, which switches both workflows to listen for repository_dispatch instead, and fixes a couple of bugs found during the same review (bundle download was reading from the wrong repo, the version regex rejected real -rc-suffixed releases and silently miscomputed replaces for them, and retries weren't idempotent).

Requires

  • A RELEASE_AUTOMATION_DISPATCH_TOKEN secret in this repo — a token with write access to simplyblock/release-automation (private repo), since the default GITHUB_TOKEN here is scoped to this repo only.

Test plan

  • actionlint .github/workflows/operator_release.yaml — clean.
  • Verify RELEASE_AUTOMATION_DISPATCH_TOKEN is added, then confirm a real (or manually re-run) release actually triggers the release-automation workflow end to end.

release-automation's certified/community-operators workflows were
listening for a workflow_run named "Release" — a trigger that can
only observe workflows in the same repository, and no such workflow
exists there or here. Those pipelines have never fired. Fire an
explicit repository_dispatch with the release tag once the bundle is
uploaded, matching the trigger release-automation now listens for.

Needs a RELEASE_AUTOMATION_DISPATCH_TOKEN secret (a token with write
access to simplyblock/release-automation) added to this repo.
@noctarius
noctarius force-pushed the main branch 2 times, most recently from 60dceb7 to fbaabe4 Compare September 9, 2026 10:21
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.

1 participant