Closed MadhavJivrajani closed 7 months ago
@MadhavJivrajani: The label(s) area/code-organization
cannot be applied, because the repository doesn't have them.
Successful run in the normal case: https://github.com/kubernetes/utils/actions/runs/8169957204/job/22335081807?pr=306 Failing run in invalid case when I try and change go.mod to 1.21: https://github.com/kubernetes/utils/actions/runs/8169981509/job/22335158126?pr=306
/approve /lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dims, MadhavJivrajani
The full list of commands accepted by this bot can be found here.
The pull request process is described here
This commit adds a script that checks the changed version in the go.mod file with a certain maximum version that the go directive can have.
We set the maximum version of the go directive as 1.20 here because the oldest go directive that exists on our supported release branches in k/k is 1.20.
This commit additionally changes the requisite GH action to incorporate this check.
Fixes https://github.com/kubernetes/utils/issues/305 xref https://github.com/kubernetes/kubernetes/issues/123744
/sig architecture /area code-organization /kind cleanup /assign @dims @liggitt