Skip to content

ci: add a github action to create a branch when a tag is created #1

ci: add a github action to create a branch when a tag is created

ci: add a github action to create a branch when a tag is created #1

Workflow file for this run

on:
push:
tags:
- '*'
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: create branch
run: |
git config user.name "github-actions[bot]"
git config user.email "[email protected]"
git checkout -b ${{ github.ref_name }}
git push -u origin ${{ github.ref_name }}