We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4613caf commit f4cf5a0Copy full SHA for f4cf5a0
.github/workflows/release.yml
@@ -568,6 +568,9 @@ jobs:
568
RELEASE_TAG: ${{ needs.prepare.outputs.release_tag }}
569
run: |
570
VENDOR_MODULE=github.com/docker/model-runner@${RELEASE_TAG} make vendor
571
+ # Remove the second require block added by `go get` — the docs repo
572
+ # only needs the direct dependency in the first require block.
573
+ awk '/^require \(/{n++} n==2{if(/^\)/) n=3; next} n!=2' go.mod > go.mod.tmp && mv go.mod.tmp go.mod
574
575
- name: Create pull request
576
if: steps.check-docs.outputs.changed == 'true'
0 commit comments