Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zizmor pre-commit hook #195

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Add zizmor pre-commit hook #195

merged 2 commits into from
Jan 8, 2025

Conversation

nicholasjng
Copy link
Collaborator

Mirrors the same change in aai-institute/lakefs-spec#311.

Findings include the frequently missing persist-credentials, and a template injection hint for our mike action, which appears three times (?).

…e action

Based on zizmor's findings.

Fixing mike works by supplying the shell command-line inputs as envvars, since
they are always fully expanded by the shell, preventing surprise injections at
the template level.
@nicholasjng nicholasjng merged commit 92e02c6 into main Jan 8, 2025
14 checks passed
@nicholasjng nicholasjng deleted the add-zizmor branch January 8, 2025 18:35
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.

1 participant