From 4b295e55c75fb0a7dcab007397c80c9c473826b7 Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Wed, 17 Apr 2024 10:56:25 -0600 Subject: [PATCH] Assign and tag the release team for go update/upgrade auto PRs Signed-off-by: Florent Poinsard --- .github/workflows/update_golang_dependencies.yml | 4 ++++ .github/workflows/update_golang_version.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/update_golang_dependencies.yml b/.github/workflows/update_golang_dependencies.yml index 88388246549..81e6c79c17d 100644 --- a/.github/workflows/update_golang_dependencies.yml +++ b/.github/workflows/update_golang_dependencies.yml @@ -1,6 +1,7 @@ name: Update Golang Dependencies on: + pull_request: schedule: - cron: "0 0 1,15 * *" # Runs every month on the 1st and 15th days at midnight UTC workflow_dispatch: @@ -45,9 +46,12 @@ jobs: commit-message: "upgrade go deps" signoff: true delete-branch: true + reviewers: vitessio/release title: "Upgrade the Golang Dependencies" body: | This Pull Request updates all the Golang dependencies to their latest version using `go get -u ./...`. + + cc @vitessio/release base: main labels: | go diff --git a/.github/workflows/update_golang_version.yml b/.github/workflows/update_golang_version.yml index 0ef0c3483c9..6150591d68f 100644 --- a/.github/workflows/update_golang_version.yml +++ b/.github/workflows/update_golang_version.yml @@ -70,6 +70,7 @@ jobs: commit-message: "bump go version to go${{steps.detect-and-update.outputs.go-version}}" signoff: true delete-branch: true + reviewers: vitessio/release title: "[${{ matrix.branch }}] Upgrade the Golang version to `go${{steps.detect-and-update.outputs.go-version}}`" body: | 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 +82,8 @@ jobs: - [ ] Build and Push the bootstrap images to Docker Hub, the bot cannot handle that. - [ ] Update the `./.github/workflows/*.yml` files with the newer Golang version, the bot cannot handle that due to permissions. - 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}}` + + cc @vitessio/release base: ${{ matrix.branch }} labels: | Skip CI