Repository navigation
PFM-ISSUE-33676 - Use the github-actions bot identity in FE upmerge and release flows - #192
Open
vladimir-arsov wants to merge 2 commits into
Conversation
…nd release flows - fe-check-upmerge.yml / fe-release-flow.yml: set a fixed github-actions[bot] git identity; GIT_USER / GIT_USER_EMAIL become optional and unused. - fe-check-upmerge.yml: drop the undeclared inputs.GHA_REF checkout ref. - upmerge.ts: no longer runs git config from GIT_USER*; new unit test. - Caller template and README no longer require GIT_USER*. - Specs under specs/2026-11-26_PFM-ISSUE-33676_replace-shared-github-user/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- live-test-log.md: clone-cplace-fe runs L0-L4 (release, upmerge, PR snapshot comment, main CI without GIT_USER* secrets) and H0-H4 (App-token heal through an App-only bypass ruleset, loop-break, cleanup). - research.md: addendum with the final usage -> replacement mapping (U1-U17, owners) and the audit of the 15 FE repos. - plan.md: progress, deviations and checkpoint approvals. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vladimir-arsov
requested review from
alekhya-cplace,
senthanal and
slaven3kopic
as code owners
November 30, 2026 12:41
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.
Resolves PFM-ISSUE-33676
changelog: Frontend-Core: [PFM-ISSUE-33676] The FE release flow and the upmerge check set a github-actions[bot] git identity themselves; GIT_USER and GIT_USER_EMAIL are no longer required [PR github-actions#192]Summary
The FE reusable workflows in this repo no longer read the shared GitHub user account (
GIT_USER,GIT_USER_EMAIL).Changes
fe-check-upmerge.yml:github-actions[bot]globally. cplace-cli makes local merge commits(
--no-push), which need an author.GIT_USER*are no longer passed to the action.ref: ${{ inputs.GHA_REF }}line is removed. It referred to an input that was never declared, so it alwaysresolved to empty.
tools/scripts/upmerge/upmerge.ts: the two unquotedgit config --globalcalls built fromGIT_USER*areremoved. A new unit test proves the script no longer configures an identity, and it fails against the old code.
fe-release-flow.yml: the git identity step (renamed from "Configure git user" to "Configure git identity", to matchthe upmerge workflow) uses fixed
github-actions[bot]values with no secret env. The tagis lightweight, so the identity is never recorded anyway.
GIT_USER/GIT_USER_EMAILin both workflows: they are nowrequired: falseand unused, with a comment markingthem for removal by the FE migration/cleanup ticket. Callers that still pass them keep working.
GIT_USER*. Itspermissions:are unchanged (PFM-ISSUE-35504).GIT_USER*are dropped from the list, and it says when a repo can deleteGIT_USER/GIT_USER_EMAILandGIT_USER_TOKEN.research.md(now with an addendum mapping U1–U17 and the 15-repo audit),design.md,plan.mdandlive-test-log.md, all underspecs/2026-11-26_PFM-ISSUE-33676_replace-shared-github-user/.Unchanged: the deprecated
fe-tag.ymlandworkflows/fe-release.yml, theGIT_USER*declarations themselves,and the consumer repos. All of these belong to the migration/cleanup ticket (U13–U17 in the mapping).
Consumers need no change. Explicit
GIT_USER*passes still validate against the optional declarations.The cplace-fe side (heal push via the
sva-actions-upmergeApp, storybook identity) iscplace-fe#3101.
Live validation (
clone-cplace-fe, test branchtest/PFM-ISSUE-33676-bot-identity)The clone's
GIT_USER_TOKEN,GIT_USERandGIT_USER_EMAILsecrets were deleted before L1–L4, and no clonebranch references them anymore.
release/26.4andrelease/26.3were no-op releases, and main CI was green, all before the secrets were deleted.RELEASE(26.4.13). "Configure git user" (since renamed to "Configure git identity") ran with fixed values and no secret env. The tag is lightweight and the GitHub release is authored bygithub-actions[bot]. There was no "Secret … is required" error.invalid_authas expected. cplace-cli merged26.3 → 26.4(a real merge commit, so the bot identity was used) and then stopped on an add/add conflict infe-release.ymlthat already existed in the clone.<!-- published-artifacts -->comment, bygithub-actions[bot].Details:
specs/2026-11-26_PFM-ISSUE-33676_replace-shared-github-user/live-test-log.md.Tests
npx jest tools/scripts/upmergepasses 4/4, including the new test.npm testhas 8 failures in the artifacts suites.masterfails the same 8 on Windows (path separators); they areunrelated to this change.
Developer Checklist:
to Guidelines
🤖 Generated with Claude Code