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 #114

Merged
merged 8 commits into from
Dec 16, 2024
Merged

Use zizmor to lint GitHub Actions #114

merged 8 commits into from
Dec 16, 2024

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. 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

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`.
Apply some minor changes to the bash script that deploys the docs to
GitHub Pages after running shellcheck on it.
@santisoler santisoler merged commit 5a789f7 into main Dec 16, 2024
16 checks passed
@santisoler santisoler deleted the zizmor branch December 16, 2024 20:50
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