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

Run zizmor scan of GitHub actions #27

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Run zizmor scan of GitHub actions #27

merged 1 commit into from
Jan 17, 2025

Conversation

tcompa
Copy link
Collaborator

@tcompa tcompa commented Jan 17, 2025

I am ignoring the following warning

error[cache-poisoning]: runtime artifacts potentially vulnerable to a cache poisoning attack
  --> [...]/fractal-tasks-template/project/.github/workflows/build_and_test.yml.jinja:3:1
   |
 3 | / on:
 4 | |   push:
...  |
11 | |   release:
12 | |     types: [published]
   | |______________________^ generally used when publishing artifacts generated at runtime
13 |
...
37 |           uses: actions/setup-python@v5
38 | /         with:
39 | |           python-version: ${{ '{{' }} matrix.python-version {{ '}}' }}
40 | |           cache: "pip"
   | |______________________^ opt-in for caching here
   |
   = note: audit confidence → Low

because the cache is used for testing, while the deployment part is a different GitHub action job.

@tcompa tcompa merged commit c2036eb into main Jan 17, 2025
1 check passed
@tcompa tcompa deleted the review-github-actions branch January 17, 2025 14:15
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