Skip to content

fix: replace PR_BOT_GH_PAT with FERN_GITHUB_TOKEN in update-versions workflow#4919

Merged
davidkonigsberg merged 1 commit intomainfrom
devin/1776166977-use-fern-github-token
Apr 14, 2026
Merged

fix: replace PR_BOT_GH_PAT with FERN_GITHUB_TOKEN in update-versions workflow#4919
davidkonigsberg merged 1 commit intomainfrom
devin/1776166977-use-fern-github-token

Conversation

@davidkonigsberg
Copy link
Copy Markdown
Contributor

Summary

Replaces PR_BOT_GH_PAT with FERN_GITHUB_TOKEN in the "Approving PR" step of the update-versions.yml workflow. This aligns the docs repo with the standardized token used across other fern-api repos (venus, fern, fern-platform).

The PR_BOT_GH_PAT token was found to lack the required scopes (e.g. security_events) in other repos, causing CI failures. FERN_GITHUB_TOKEN is the canonical PAT with the correct permissions.

Review & Testing Checklist for Human

  • Verify that the FERN_GITHUB_TOKEN secret is configured in the fern-api/docs repo (Settings → Secrets and variables → Actions). If it's missing, the auto-approve step will fail.
  • After merging, monitor the next automated "Update versions from docker hub" PR to confirm the approval step succeeds.

Notes

  • Also fixes a missing trailing newline at end of file.
  • Related PRs: similar changes in fern-api/venus, fern-api/fern, and fern-api/fern-platform.

Link to Devin session: https://app.devin.ai/sessions/facba5dbb3fb4869a94c949db5085817
Requested by: @davidkonigsberg

…workflow

Co-Authored-By: David Konigsberg <davidakonigsberg@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions
Copy link
Copy Markdown
Contributor

@davidkonigsberg davidkonigsberg merged commit 7c0dbad into main Apr 14, 2026
2 checks passed
@davidkonigsberg davidkonigsberg deleted the devin/1776166977-use-fern-github-token branch April 14, 2026 11:48
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