[release-20.0] Migrate Workflow: Scope vindex names correctly when target and source keyspace have different names (#16769) #2993
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.7 | |
- 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)" |