You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Checkout warning cannot distinguish tooling and data repositories #76586
warning: checkout step "example-org/content into target" uses checkout.ref
"${{ needs.prepare.outputs.branch }}" with an untrusted or unparseable
expression, and host setup steps run after it.
The warning makes sense when host steps execute code from the dynamically selected checkout. In this case, however, executable tooling comes from the trusted workflow repository. The target checkout supplies content processed as data; its scripts are not executed.
The heuristic appears to flag the combination of a dynamic checkout and host steps without distinguishing which checkout supplies executable code.
Should we structure this workflow differently? Or could GH-AW provide a supported way to express or acknowledge this tooling/data separation without warnings? We'd prefer to follow the recommended pattern rather than remove validation or suppress unrelated diagnostics.
Note
Fictitious, illustrative example; not a complete workflow.
Activity