From 82f52c30b26c8ab9727ee3a3d0687c59c2e5c3da Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Sat, 20 Jan 2024 04:09:28 -0800 Subject: [PATCH] Checkout fake release branch for release workflow Signed-off-by: Tamal Saha --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e25b093..194a548 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,8 +28,8 @@ jobs: needs: label-detector runs-on: "${{ needs.label-detector.outputs.runs-on }}" steps: - - name: Check out code into the Go module directory - uses: actions/checkout@v1 + - uses: actions/checkout@v1 + - run: git checkout -b release-${GITHUB_REF_NAME} - name: Set up Go 1.21 uses: actions/setup-go@v1