-
-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Labels
Description
Pre-submission checks
- I am not reporting a bug (crash, false positive/negative, etc). These must be filed via the bug report template.
- I have looked through both the open and closed issues for a duplicate request.
What's the problem this feature will solve?
At the moment, secrets-outside-env doesn't work with reusable workflows. I.e. secrets aren't detected.
Reproduction
git clone git@github.com:rust-lang/compiler-builtins.git
cd compiler-builtins
git checkout 22c27f85a19230d3ff3f7b6e815449aa1dc314ea
zizmor .github/workflows/rustc-pull.ymlThe output is:
🌈 zizmor v1.23.1
INFO audit: zizmor: 🌈 completed .github/workflows/rustc-pull.yml
No findings to report. Good job!
while the rustc-pull.yml file contains secrets outside of environments.
Describe the solution you'd like
The best solution I found is discourage the use of reusable workflows in case they contain secrets, and:
- inline the linked workflow
- create a proper github action based on the linked workflow
Additional context
No response
Reactions are currently unavailable