Skip to content

[release-20.0] Upgrade the Golang version to go1.22.7 #2919

[release-20.0] Upgrade the Golang version to go1.22.7

[release-20.0] Upgrade the Golang version to go1.22.7 #2919

name: Assign Milestone
on:
pull_request_target:
types: [opened]
permissions: read-all
env:
GH_TOKEN: ${{ github.token }}
jobs:
build:
name: Assign Milestone
runs-on: ubuntu-22.04
permissions:
pull-requests: write
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.6
- name: Checkout code
uses: actions/checkout@v4
- name: Assign Milestone
run: |
gh pr edit ${{ github.event.number }} --milestone "v$(sed -n 's/.*versionName.*\"\([[:digit:]\.]*\).*\"/\1/p' ./go/vt/servenv/version.go)"