Recursion through reusable workflows + composite actions. #677
Replies: 3 comments 2 replies
-
Sidenote: The graph that will be a side-product of recursing through the dependencies via reusable workflows + composite actions would be really useful for understanding the supply chain behind a github actions workflow run. |
Beta Was this translation helpful? Give feedback.
-
Long term, yes -- I've thought about enabling a feature like that, but two design points that I need to think through:
TL;DR: This is something I want to do, but it's not a short-term priority 🙂 -- my short-term priorities are
|
Beta Was this translation helpful? Give feedback.
-
Tracking with #678 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is recursion through multiple levels of reusable workflows and composite actions something that zizmor strives to do?
Consider the following scenario:
Zizmor has
unpinned-uses
configured like this:The repo contains a workflow that is run for every PR. It includes a reusable workflow from another repo.
zizmor
will ensure this reference is pinned. So far, so good.The reusable workflow itself calls actions - will these also have
"*": hash-pin
enforced? Now the called action is a composite action, will that internally also have"*": hash-pin
enforced?I think at the moment this is not supported. At least in my testing locally, I had a workflow that pinned
tj-actions/pg-dump
toc826d55715b153f5572006e464e69b2bf0422fea
which internally usestj-actions/install-postgres
pinned tov3
, andzizmor
running with--persona pedantic
did not catch this.Beta Was this translation helpful? Give feedback.
All reactions