blob: d5e697f6d7994fa3ddbf18b7362e90ac54f1d0df [file]
name: Promote RC to Final Release
on:
workflow_dispatch:
inputs:
version:
description: 'The final version to release (e.g., 0.38.0)'
required: true
type: string
permissions:
contents: write
issues: write
jobs:
promote:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.19.0
with:
bazelisk-version: 1.20.0
- name: Configure Git Identity
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Run Promote RC
run: |
bazel run //tools/private/release -- \
promote-rc ${{ inputs.version }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}