Skip to content

[chore] Prepare release v1.38.0/v0.132.0 (#13623) #6

[chore] Prepare release v1.38.0/v0.132.0 (#13623)

[chore] Prepare release v1.38.0/v0.132.0 (#13623) #6

Workflow file for this run

name: Automation - Release Branch
on:
push:
tags:
# Trigger on beta version tags (0.x.x series) to create release branch
# This pattern matches: v0.{minor}.{patch} for new releases and bugfix releases
- 'v0.[0-9]+.[0-9]+'
- 'v0.[0-9]+.[0-9]+-*' # Also support release candidates if needed
permissions:
contents: read
jobs:
release-branch:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: oldstable
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
with:
path: |
~/go/bin
~/go/pkg/mod
key: go-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/go.sum') }}
- name: Setup Git config
run: |
git config --global user.name "otelbot"
git config --global user.email "[email protected]"
- name: Run release-branch.sh
run: |
./.github/workflows/scripts/release-branch.sh
env:
UPSTREAM_REMOTE_NAME: "origin"
MAIN_BRANCH_NAME: "main"
GITHUB_REF: ${{ github.ref }}