Skip to content

feat(plugin): Add ZIZMOR_GITHUB_TOKEN environment variable - #14

Merged
chazypro merged 1 commit into
mainfrom
fix/zizmor-token
Nov 26, 2026
Merged

chazypro merged 1 commit into
mainfrom
fix/zizmor-token

Conversation

@chris3ware

Copy link
Copy Markdown
Member

What has changed?

  • zizmor linter definition updated to use ZIZMOR_GITHUB_TOKEN environment variable

Why has it changed?

  • The upstream plugin only passes GH_TOKEN/GITHUB_TOKEN, which gh uses in place of its stored OAuth login. Exporting either from a shell config file can leave an inherited, revoked token in place and break gh and git authentication. gh ignores ZIZMOR_GITHUB_TOKEN, so it keeps using its own login.

References

@chris3ware
chris3ware requested a review from a team as a code owner November 26, 2026 16:03
@chazypro
chazypro merged commit 57adcae into main Nov 26, 2026
5 checks passed
@chazypro
chazypro deleted the fix/zizmor-token branch November 26, 2026 16:06
@3ware-bot 3ware-bot Bot mentioned this pull request Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants