Skip to content

Commit

Permalink
Assign and tag the release team for go update/upgrade auto PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Apr 17, 2024
1 parent f11de06 commit 4b295e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/update_golang_dependencies.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update_golang_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`.
Expand All @@ -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
Expand Down

0 comments on commit 4b295e5

Please sign in to comment.