Skip to content

Commit

Permalink
Using latest version of mod-tidier which supports go.{mod,sum} check (#…
Browse files Browse the repository at this point in the history
…97)

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`
  • Loading branch information
evantorrie committed Jun 24, 2020
1 parent 6c478fe commit 90ce241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: modtidy
with:
gomods: '**/go.mod'
gosum_only: true
gomodsum_only: true
- uses: stefanzweifel/git-auto-commit-action@v4
id: autocommit
with:
Expand Down

0 comments on commit 90ce241

Please sign in to comment.