Repository navigation
chore: remove release-please workflow - #293
Open
matthewelwell wants to merge 1 commit into
Open
matthewelwell wants to merge 1 commit into
matthewelwell wants to merge 1 commit into
Conversation
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. It stands down while a release-please workflow exists, so deleting this file is the cutover. Moves tag and release creation off the RELEASE_PLEASE_GITHUB_TOKEN PAT and onto the flagsmith-engineering App's short-lived installation token. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
khvn26
approved these changes
Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of a batch across all Flagsmith repos that still carry an in-repo release-please workflow.
Why
github-webhook-handleralready runs release-please for any repo withrelease-please-config.jsonand.release-please-manifest.jsonat its root. This repo has both.It isn't doing so yet, because of a deliberate handover guard in
should_run_release_please:While this workflow exists the handler stands down and reports "release-please is not configured for this repository." Deleting it flips
has_workflowto false and the handler takes over on the next push to the default branch. No gap, nothing to enable.Verified before opening
release-please-config.jsonand.release-please-manifest.jsonboth present (checked by HTTP status, not output parsing).flagsmith-engineeringapp is installed org-wide (repository_selection: all) and subscribed topush.release_created/releases_created, and no other workflow depends on it viaworkflow_run.github-webhook-handleritself has no release-please workflow and its releases are cut byflagsmith-engineering[bot].Security benefit
Tag and release creation moves off
RELEASE_PLEASE_GITHUB_TOKEN— a PAT on theflagsmithdevuser account, held as an org secret and last rotated 2024-07-19 — onto a short-lived GitHub App installation token. Once every repo is cut over, that PAT can be retired.Downstream automation is unaffected: the handler creates releases and tags with an app installation token, so
releaseand tag-pushevents still fire for workflows that listen for them.How to confirm after merge
Merging is itself a push to the default branch, so it self-triggers. The
release-pleasecheck on the merge commit should switch fromgithub-actionstoflagsmith-engineeringand report "release-please ran successfully." If anything looks wrong,git revertrestores the previous behaviour.🤖 Generated with Claude Code