mirror of
https://github.com/openai/codex.git
synced 2026-09-17 12:23:33 +00:00
chore: rust-release.yml should update the latest-alpha-cli branch
This commit is contained in:
19
.github/workflows/rust-release.yml
vendored
19
.github/workflows/rust-release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user