Skip to content

[chore] Prepare release v1.50.0/v0.144.0 (#14451) #18

[chore] Prepare release v1.50.0/v0.144.0 (#14451)

[chore] Prepare release v1.50.0/v0.144.0 (#14451) #18

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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: oldstable
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
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 "197425009+otelbot@users.noreply.github.com"
- 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 }}