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
Automate the go version update #26343
Automate the go version update #26343
Conversation
Nice, that will be helpful. About auto-updating: |
💚 Build Succeeded
Expand to view the summary
Build stats
Trends 🧪❕ Flaky test reportNo test was executed to be analysed. |
This reverts commit 84975dc.
.mergify.yml
Outdated
@@ -92,3 +92,11 @@ pull_request_rules: | |||
- files~=^testing/environments/snapshot.*\.yml$ | |||
actions: | |||
delete_head_branch: | |||
- name: delete upstream branch after merging changes on .go-version | |||
conditions: | |||
- merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens when I close the PR? Is the branch deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, there is actually a conditions: -closed
that I was not aware of :)
(cherry picked from commit 35c8608) # Conflicts: # .mergify.yml
(cherry picked from commit 35c8608) # Conflicts: # .mergify.yml
What does this PR do?
Delegate the update for the go-version to be done automatically.
I used #26186 as a reference for the implementation
You can use this script locally:
NOTE: it will add and commit the changes in the existing branch. The push and PR creation is not done within this script.
Why is it important?
No more manual actions.
Further details
This automation will not merge the PR automatically, neither it will create any backports nor changelog entries
We do want the teams to do so:
CHANGELOG-developer.next.asciidoc
This particular automation will run on weekly basis. The pipeline is bump-go-release-version-pipeline
Tests
produces