Skip to content

Create Release Branch #2

Create Release Branch

Create Release Branch #2

---
name: "Create Release Branch"
on:
workflow_dispatch:
jobs:
create-release-branch:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.11"
- name: "Setup git"
run: |
git config user.name pulpbot
git config user.email [email protected]
- name: "Install python dependencies"
run: |
pip install bump2version
- name: "Create Release Branch"
run: |
.ci/scripts/create_release_branch.sh
- name: "Create Pull Request"
uses: "peter-evans/create-pull-request@v5"
with:
token: "${{ secrets.RELEASE_TOKEN }}"
title: "Bump dev-version"
body: ""
branch: "bump_version"
delete-branch: true