On 8/12/24 13:01, Ilya Maximets wrote:
> Unlike 'jobs.<job_id>.steps.if', the 'jobs.<job_id>.if' doesn't
> allow use of the 'env' context. This breaks the workflow parsing:
>
> Invalid workflow file: .github/workflows/containers.yml#L18
> The workflow is not valid. .github/workflows/containers.yml
> (Line: 18, Col: 9): Unrecognized named-value: 'env'. Located at
> position 28 within expression:
> github.repository_owner == env.IMAGE_NAMESPACE
>
> Use the name directly, as we do in other workflows.
>
> Fixes: 2e5a69d12849 ("github: Don't run scheduled workflows on forks.")
> Signed-off-by: Ilya Maximets <[email protected]>
> ---
Looks good to me, thanks! Applied to main and 24.09 to unblock CI.
Regards,
Dumitru
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev