-
Notifications
You must be signed in to change notification settings - Fork 796
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
[sdk-wide] go get -u all
+ go mod tidy
automation
#22852
Comments
@richardpark-msft @jhendrixMSFT we have a pretty similar example of this already working in the go repo for the post-release steps: https://github.com/Azure/azure-sdk-for-go/blob/main/eng/pipelines/templates/jobs/archetype-go-release.yml#L112-L120 |
If you want to push to main directly we have this template: https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/pipelines/templates/steps/git-push-changes.yml The weekly pipelines already appear to be wired up with github permissions. |
Our goal here is just to have it happen on a weekly cadence, with the merge happening automatically and the testing in the weekly pipeline to validate.
Weekly pipelines for a package should do this:
go get -u all
go mod tidy
git commit go.mod go.sum
git push
Steps 4 and 5 are probably new, but we believe some teams must have some process like this in place (for instance, Java) so hopefully we can lean a bit on what they've done.
CC: @benbp, @alzimmermsft (who probably has heard of something like this for Java)
The text was updated successfully, but these errors were encountered: