Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using latest version of mod-tidier which supports go.{mod,sum} check #97

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

evantorrie
Copy link
Contributor

@evantorrie evantorrie commented Jun 23, 2020

go mod tidy does have occasion to change go.mod files in addition to go.sum (e.g. when a transitive dependency changes from an implicit to explicit dependency).

The latest beta of the mott-the-tidier action provides a new flag (gomodsum_only) which defaults to true, and allows the build to pass so long as the only files changed are either go.mod or go.sum.

The action is still restricted to running only on pull requests at the time a dependencies label is added to the PR.

As go mod tidy does have occasion to change `go.mod` files in addition
to `go.sum` (e.g. when a transitive dependency changes from an
implicit to explicit dependency), this new flag (`gomodsum_only`)
allows the build to pass so long as the only files changed are either
`go.mod` or `go.sum`
@MrAlias MrAlias merged commit 90ce241 into open-telemetry:master Jun 24, 2020
@evantorrie evantorrie deleted the gomodsum-mott-the-tidier branch June 27, 2020 01:02
plantfansam referenced this pull request in plantfansam/opentelemetry-go-contrib Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants