From 3fc9987b60c4f5cdbe8ad97ed6bc7c6e073bc8d8 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Thu, 26 Sep 2024 18:21:58 +0200 Subject: [PATCH] Checkout code earlier in Assign Milestone CI Signed-off-by: Tim Vaillancourt --- .github/workflows/assign_milestone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/assign_milestone.yml b/.github/workflows/assign_milestone.yml index daa70e8c6ca..3ae0a89b4a9 100644 --- a/.github/workflows/assign_milestone.yml +++ b/.github/workflows/assign_milestone.yml @@ -17,14 +17,14 @@ jobs: pull-requests: write steps: + - name: Checkout code + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - name: Set up Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: go-version-file: go.mod - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - name: Assign Milestone run: | gh pr edit ${{ github.event.number }} --milestone "v$(sed -n 's/.*versionName.*\"\([[:digit:]\.]*\).*\"/\1/p' ./go/vt/servenv/version.go)"