Skip to content

Replace hardcoded label list with kind/* label convention (#5) #1

Replace hardcoded label list with kind/* label convention (#5)

Replace hardcoded label list with kind/* label convention (#5) #1

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
# When a git tag with the prefix 'v' is pushed to the repository, this workflow will create a new release branch called release/<tag name>.
name: Create a Release Branch
on:
push:
tags:
- "v*"
permissions:
contents: write # needed to push the new branch
jobs:
create-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: extractions/setup-just@v3
with:
just-version: "1.40"
- name: Create Release Branch
run: |
git checkout -b release/${GITHUB_REF_NAME}
git push --set-upstream origin release/${GITHUB_REF_NAME}
shell: bash