Skip to content

ci: Keep persisted credentials for mkdocs gh-deploy CI workflow - #1879

Merged
koverholt merged 1 commit into
mainfrom
fix-publish-docs-credentials
Jun 26, 2026
Merged

koverholt merged 1 commit into
mainfrom
fix-publish-docs-credentials

Conversation

@koverholt

Copy link
Copy Markdown
Collaborator

Fix for the Publish Docs CI workflow, which broke on main after #1872 was merged.

#1872's zizmor artipacked auto-fix added persist-credentials: false to every checkout. That's correct everywhere except the deploy job: mkdocs gh-deploy does git push origin gh-pages, which needs those persisted credentials when the CI workflow runs.

Fix: Drop persist-credentials: false on the deploy checkout and document the intentional exception inline:

# zizmor: ignore[artipacked] - gh-deploy needs the persisted GITHUB_TOKEN to push to gh-pages

@koverholt
koverholt requested a review from joefernandez June 26, 2026 17:59
@netlify

netlify Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit ea2b4a2
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6a3ebdf8bd1998000843a132
😎 Deploy Preview https://deploy-preview-1879--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@koverholt
koverholt merged commit d472a52 into main Jun 26, 2026
11 of 12 checks passed
@koverholt
koverholt deleted the fix-publish-docs-credentials branch June 26, 2026 18:12
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