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

Use zizmor to lint GitHub Actions #544

Merged
merged 8 commits into from
Jan 8, 2025
Merged

Use zizmor to lint GitHub Actions #544

merged 8 commits into from
Jan 8, 2025

Conversation

santisoler
Copy link
Member

@santisoler santisoler commented Dec 10, 2024

Make use of zizmor to lint GitHub Actions workflows and catch potential security issues. Add zizmor to the environment.yml and to the requirements-style.txt. Add a new check-actions target in the Makefile that runs zizmor on every workflow. Add a new workflow for running zizmor on PRs and on pushes to main.

Todo:

  • Apply some minor changes to the script that deploys docs to GitHub Pages after suggestions obtained by running shellcheck on it.

Relevant issues/PRs:

Part of fatiando/community#159

@santisoler santisoler merged commit 42dd445 into main Jan 8, 2025
17 checks passed
@santisoler santisoler deleted the zizmor branch January 8, 2025 18:56
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