From b1eb9dc185e5eacec1d68f275d41317c635161d7 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Wed, 10 Sep 2025 23:09:30 -0700 Subject: [PATCH] chore: rust-release.yml should update the latest-alpha-cli branch --- .github/workflows/rust-release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index a765ba6a33..7125b61d71 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -219,3 +219,22 @@ jobs: with: tag: ${{ github.ref_name }} config: .github/dotslash-config.json + + update-branch: + name: Update latest-alpha-cli branch + permissions: + contents: write + needs: release + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v5 + with: + fetch-depth: 0 # Fetch all history for all branches and tags + + - name: Update latest-alpha-cli branch + run: | + set -euo pipefail + git branch -f latest-alpha-cli "${GITHUB_REF_NAME}" + git push origin latest-alpha-cli --force