fix(ci): replace classic PAT with 2-credential pattern in update-versions#5750
Merged
davidkonigsberg merged 1 commit intoJun 11, 2026
Merged
Conversation
…ions Co-Authored-By: David Konigsberg <davidakonigsberg@gmail.com>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
fern-support
approved these changes
Jun 11, 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.
Summary
The
update-versions.ymlworkflow fails at the "Create or update the pull request" step withRequires authentication. Same root cause as fern-api/fern#16433 — the org now blocks classic PATs, and the approval step usedFERN_GITHUB_TOKEN.Changes follow the 2-credential pattern from fern's
update-seed.ymlandfix-lint.yml:permissionsblock (contents: write,pull-requests: write) to scopeGITHUB_TOKENtoken: ${{ secrets.GITHUB_TOKEN }}oncreate-pull-request(PR author =github-actions[bot])FERN_SUPPORT_GH_ACTIONS_PATfor automerge + approve (different identity from PR author, avoids self-approval)createdandupdatedPR operationsLink to Devin session: https://app.devin.ai/sessions/93f91ff5c5b64a2c8168fc49f3f42ad2
Requested by: @davidkonigsberg