Skip to content

Commit dc9a3df

Browse files
committed
update description about vendoring in CONTRIBUTING.md
follow go-gitea#18277 Signed-off-by: a1012112796 <[email protected]>
1 parent 84145e4 commit dc9a3df

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,12 @@ Here's how to run the test suite:
9191

9292
## Vendoring
9393

94-
We keep a cached copy of dependencies within the `vendor/` directory,
95-
managing updates via [Modules](https://golang.org/cmd/go/#hdr-Module_maintenance).
94+
We managing updates via [Modules](https://golang.org/cmd/go/#hdr-Module_maintenance).
9695

97-
Pull requests should only include `vendor/` updates if they are part of
96+
Pull requests should only include `go.mod`, `go.sum` updates if they are part of
9897
the same change, be it a bugfix or a feature addition.
9998

100-
The `vendor/` update needs to be justified as part of the PR description,
99+
The `go.mod`, `go.sum` update needs to be justified as part of the PR description,
101100
and must be verified by the reviewers and/or merger to always reference
102101
an existing upstream commit.
103102

0 commit comments

Comments
 (0)