Skip to content

chore: remove release-please workflow - #13

Merged
matthewelwell merged 1 commit into
mainfrom
chore/release-please-via-webhook-handler
Nov 30, 2026
Merged

matthewelwell merged 1 commit into
mainfrom
chore/release-please-via-webhook-handler

Conversation

@matthewelwell

Copy link
Copy Markdown
Contributor

Last repo in the batch moving release-please onto the central runner in github-webhook-handler. Merging this unblocks deleting the RELEASE_PLEASE_GITHUB_TOKEN org secret — this is the final reference to it anywhere in the org.

Why this one was missed

The earlier sweep searched for workflows named release-please.yml. This repo's is called release.yml, so it didn't turn up. Found by grepping every workflow in all 117 active org repos for RELEASE_PLEASE_GITHUB_TOKEN.

There's a latent race here too

The handler runs release-please for any repo with release-please-config.json and .release-please-manifest.json at its root — both of which this repo has. It stands down only when a workflow file named release-please*.yml exists:

has_workflow = any(
    "release-please" in name and name.endswith((".yml", ".yaml"))
    for name in workflow_filenames
)
return (has_config and has_manifest) and not has_workflow

release.yml doesn't match, so the handler considers itself responsible for this repo while the workflow does too. They haven't collided yet only because the last push to main was 2026-02-07, before the handler existed. The next push would have run release-please twice concurrently.

Deleting the workflow resolves that and leaves the handler as the single runner.

Verified before opening

  • Root release-please-config.json and .release-please-manifest.json both present.
  • The workflow runs release-please and nothing else — no publish step, no release_created gating.
  • Neither pr.yml nor collect-code-references.yml depends on it via workflow_run.
  • The flagsmith-engineering app is installed org-wide (repository_selection: all) and subscribed to push.

Follow-up worth considering

Matching release-please in the filename is a fragile way to detect "this repo self-manages releases" — this repo slipped past it in both directions. Inspecting workflow contents for the release-please action would be more robust.

🤖 Generated with Claude Code

Release orchestration is handled by github-webhook-handler, which runs
release-please on default-branch pushes for any repo with release-please
config at its root. This repo has both config files, so the handler
already considers itself responsible for it.

Because this workflow is named release.yml rather than release-please.yml,
it slipped past the handler stand-down guard, which matches on filename.
The next push to main would therefore have run release-please twice
concurrently. Deleting the workflow resolves that and moves release
creation onto the App installation token.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@matthewelwell
matthewelwell requested a review from a team as a code owner November 30, 2026 15:42
@matthewelwell
matthewelwell requested review from khvn26 and removed request for a team November 30, 2026 15:42

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Deletes the repo's release-please workflow, moving release automation to the org-wide github-webhook-handler; requires human sign-off because the takeover depends on external runner behavior not visible in this diff.

Turn on auto-fix | Re-trigger cubic

@matthewelwell
matthewelwell merged commit eaf7312 into main Nov 30, 2026
2 of 3 checks passed
@matthewelwell
matthewelwell deleted the chore/release-please-via-webhook-handler branch November 30, 2026 16:03
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