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
[BUG] Nested composite steps disabled by a literal caller input are still analyzed (false ISSUE-307 on golang/govulncheck-action with repo-checkout: false) #591
A workflow that passes repo-checkout: false still gets ISSUE-307 (checkout persists credentials) for that nested checkout.
To Reproduce
plumber analyze github.com/wilfriedroset/a10r
Result on 0.7.18 with the built-in default configuration: one finding, ISSUE-307 (LOW) on job govulncheck of .github/workflows/govulncheck.yml, "defined in golang/govulncheck-action@032d455..., action.yml line 47". The workflow calls the action with repo-checkout: false, and its own checkout already sets persist-credentials: false. Score 98/100, gate blocked, for a step that does not execute.
Expected behavior
When a nested step's if: depends only on inputs.<name> compared with string literals, resolve it with the caller's literal with: value (or the input's declared default) and skip the step when it evaluates to false. Conditions that reference runtime contexts (github.*, env.*, steps.*, ...) keep being inlined as today.
Relevant versions and configuration files
OS: Linux
Plumber version: 0.7.18
.plumber.yaml: none (built-in default)
GitHub provider, remote analysis
Additional context
Expected scope: ISSUE-307 is the visible case here, but any control reading nested steps (pinning, unverified scripts, template injection, ...) reports the same way on an input-disabled step.
Activity
Exypte commentedon Nov 4, 2026
I'm working on this one, a fix is on the way.
chore(release): 0.7.19 [skip ci]
fix(github): a composite step a literal input turns off is not analyzed
chore(release): 0.7.19 [skip ci]
fix(github): a composite step a literal input turns off is not analyzed
chore(v1): sync main (0.7.23) into release/v1 (#622)
chore(v1): sync main into release/v1 (#647)