Skip to content

Prevent dependabot from pushing doc previews#443

Closed
imreddyTeja wants to merge 1 commit into
mainfrom
fix/dependabot-doc-preview
Closed

Prevent dependabot from pushing doc previews#443
imreddyTeja wants to merge 1 commit into
mainfrom
fix/dependabot-doc-preview

Conversation

@imreddyTeja

Copy link
Copy Markdown
Member

See issue in Documenter.jl. This is the solution suggested there.

Dependabot PRs run without access to repository secrets, so GITHUB_TOKEN/DOCUMENTER_KEY are unavailable and push_preview = true causes doc preview pushes to fail. This only enables push_preview when both env vars are present.

@imreddyTeja imreddyTeja self-assigned this Jul 2, 2026
See [issue](JuliaDocs/Documenter.jl#2048) in
Documenter.jl. This is the solution suggested there.
@imreddyTeja imreddyTeja force-pushed the fix/dependabot-doc-preview branch from 4632145 to 8480729 Compare July 2, 2026 17:57
@imreddyTeja imreddyTeja closed this Jul 2, 2026
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