Skip to content

Prevent dependabot from pushing doc previews#89

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

Prevent dependabot from pushing doc previews#89
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.

See [issue](JuliaDocs/Documenter.jl#2048) in
Documenter.jl. This is the solution suggested there.
@imreddyTeja imreddyTeja self-assigned this Jul 2, 2026
@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