You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: split typedoc workflow to keep PR runs read-only
Previously the docs workflow ran author-controlled code (install +
build:docs) on pull_request while holding `contents: write` and pushing
a commit back to the PR branch. For same-repo PRs that exposed a
write-capable token to untrusted code.
Split into two jobs:
- verify-docs (pull_request): read-only (`contents: read`), no push.
Generates docs and reports drift as a non-blocking warning.
- publish-docs (push to main): trusted code only, regenerates and
commits docs with `contents: write`.
Drop the bot-commit-amend/force-push logic; docs now land as a single
plain commit on main per merge.
0 commit comments