Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automated Release Version Bumps | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
timeout-minutes: 30 | ||
post_release_version_bump: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout PennyLane-Lightning | ||
uses: actions/checkout@v3 | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pennylane | ||
- name: Run version bump | ||
run: > | ||
python .github/workflows/vb_script.py | ||
--version_path "./pennylane_lightning/core/_version.py" | ||
--changelog_path "./.github/CHANGELOG.md" --post_release | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
commit-message: post release version bump | ||
title: Version Bump | ||
body: updated changelog and _version.py | ||
branch: post-release-version-bump | ||
reviewers: mlxd | ||
base: master |