Skip to content

Commit 8844aba

Browse files
authored
Assign and tag the release team for go update/upgrade auto PRs (#15737)
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
1 parent a89b2cb commit 8844aba

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/update_golang_dependencies.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,19 @@ jobs:
4141
- name: Create Pull Request
4242
uses: peter-evans/create-pull-request@v4
4343
with:
44+
token: ${{ secrets.CREATE_PR_VITESS_BOT }}
4445
branch: "upgrade-go-deps-on-main"
4546
commit-message: "upgrade go deps"
4647
signoff: true
4748
delete-branch: true
49+
team-reviewers: Release
4850
title: "Upgrade the Golang Dependencies"
4951
body: |
5052
This Pull Request updates all the Golang dependencies to their latest version using `go get -u ./...`.
53+
54+
cc @vitessio/release
5155
base: main
5256
labels: |
5357
go
54-
dependencies
5558
Component: General
56-
Type: Internal Cleanup
59+
Type: Dependencies

.github/workflows/update_golang_version.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ jobs:
6666
if: steps.detect-and-update.outputs.create-pr == 'true'
6767
uses: peter-evans/create-pull-request@v4
6868
with:
69+
token: ${{ secrets.CREATE_PR_VITESS_BOT }}
6970
branch: "upgrade-go-to-${{steps.detect-and-update.outputs.go-version}}-on-${{ matrix.branch }}"
7071
commit-message: "bump go version to go${{steps.detect-and-update.outputs.go-version}}"
7172
signoff: true
7273
delete-branch: true
74+
team-reviewers: Release
7375
title: "[${{ matrix.branch }}] Upgrade the Golang version to `go${{steps.detect-and-update.outputs.go-version}}`"
7476
body: |
7577
This Pull Request bumps the Golang version to `go${{steps.detect-and-update.outputs.go-version}}` and the bootstrap version to `${{steps.detect-and-update.outputs.bootstrap-version}}`.
@@ -81,6 +83,8 @@ jobs:
8183
- [ ] Build and Push the bootstrap images to Docker Hub, the bot cannot handle that.
8284
- [ ] Update the `./.github/workflows/*.yml` files with the newer Golang version, the bot cannot handle that due to permissions.
8385
- To accomplish this, run the following: `go run ./go/tools/go-upgrade/go-upgrade.go upgrade workflows --go-to=${{steps.detect-and-update.outputs.go-version}}`
86+
87+
cc @vitessio/release
8488
base: ${{ matrix.branch }}
8589
labels: |
8690
Skip CI

0 commit comments

Comments
 (0)