Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: rust-release.yml should update the latest-alpha-cli branch (#3458)

Michael Bolin86e0f31a7e31
diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml
index a765ba6a33..f0661d273d 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: Update latest-alpha-cli branch
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ set -euo pipefail
+ gh api \
+ repos/${GITHUB_REPOSITORY}/git/refs/heads/latest-alpha-cli \
+ -X PATCH \
+ -f sha="${GITHUB_SHA}" \
+ -f force=true