Thanks to visit codestin.com
Credit goes to github.com

Skip to content

🔧 fix(ci): restore git credentials for release and upgrade jobs#3102

Merged
gaborbernat merged 1 commit into
mainfrom
fix/release-persist-credentials
Mar 31, 2026
Merged

🔧 fix(ci): restore git credentials for release and upgrade jobs#3102
gaborbernat merged 1 commit into
mainfrom
fix/release-persist-credentials

Conversation

@gaborbernat
Copy link
Copy Markdown
Contributor

@gaborbernat gaborbernat commented Mar 31, 2026

The zizmor security tool added persist-credentials: false to all checkout steps, which broke the rollback and upgrade workflows. These jobs push commits, tags, and force-push reverts to the repository, but stripping credentials after checkout caused authentication failures.

Removing persist-credentials: false from the rollback job (using GH_RELEASE_TOKEN) and upgrade job (using DEPLOY_KEY) restores push capabilities. 🔐 The artipacked warnings are suppressed with inline ignores because they're false positives—neither job uploads artifacts that could leak credentials. The build job (which does upload artifacts) correctly keeps persist-credentials: false.

This change only affects release/maintenance workflows. Regular CI checks remain protected with credential stripping intact.

@gaborbernat gaborbernat changed the title Remove persist-credentials: false from jobs needing push access 🔧 fix(ci): restore git credentials for release and upgrade jobs Mar 31, 2026
@gaborbernat gaborbernat merged commit 235b124 into main Mar 31, 2026
63 checks passed
@gaborbernat gaborbernat deleted the fix/release-persist-credentials branch March 31, 2026 21:10
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