Automation - Release Branch #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automation - Release Branch | |
on: | |
workflow_dispatch: | |
inputs: | |
release-series: | |
description: 'Release series (e.g., v0.85.x).' | |
required: true | |
prepare-release-commit-hash: | |
description: 'Commit hash for "Prepare release" commit (e.g., a1b2c3d4)' | |
required: true | |
jobs: | |
release-branch: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 | |
with: | |
go-version: 1.23.9 | |
- name: Setup Git config | |
run: | | |
git config --global user.name "opentelemetrybot" | |
git config --global user.email "[email protected]" | |
- name: Run release-branch.sh | |
run: | | |
./.github/workflows/scripts/release-branch.sh "${{ inputs.release-series }}" "${{ inputs.prepare-release-commit-hash }}" | |
env: | |
UPSTREAM_REMOTE_NAME: "origin" | |
MAIN_BRANCH_NAME: "main" |