diff --git a/rule_expression.go b/rule_expression.go index 2328c700b..ecaf887b1 100644 --- a/rule_expression.go +++ b/rule_expression.go @@ -290,7 +290,7 @@ func (rule *RuleExpression) VisitStep(n *Step) error { rule.checkString(i.Value, "jobs..steps.with") } } - rule.checkString(e.Entrypoint, "") + rule.checkString(e.Entrypoint, "jobs..steps.with") rule.checkString(e.Args, "jobs..steps.with") spec = e.Uses } diff --git a/testdata/ok/issue-495_with_args.yaml b/testdata/ok/issue-495_with_args.yaml index b34cb4731..d57c80562 100644 --- a/testdata/ok/issue-495_with_args.yaml +++ b/testdata/ok/issue-495_with_args.yaml @@ -10,4 +10,5 @@ jobs: steps: - uses: docker://example.com:latest with: + entrypoint: "${{ inputs.test }}" args: --arg "${{ inputs.test }}"