-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated version bump workflows to use composite GH actions (#204)
* Updated version bump workflows to use composite GH acitons * Tagged main as opposed to release tag
- Loading branch information
Showing
4 changed files
with
16 additions
and
214 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,29 @@ | ||
name: Manually Triggered Version Bumps | ||
|
||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "pre_release_version_bump" | ||
pre_release_version_bump: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
- name: Install Python | ||
uses: actions/setup-python@v2 | ||
|
||
- name: Run pre-release version bump | ||
uses: PennyLaneAI/automation/version_bump_action@main | ||
with: | ||
python-version: '3.9' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pennylane | ||
version_path: "./pennylane_qiskit/_version.py" | ||
changelog_path: "./CHANGELOG.md" | ||
release_status: "pre_release" | ||
|
||
- name: Run version bump | ||
run: > | ||
python .github/workflows/vb_script.py | ||
--version_path "./pennylane_qiskit/_version.py" | ||
--changelog_path "CHANGELOG.md" --pre_release #pylint: disable=trailing-spaces | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
commit-message: pre release version bump | ||
title: Version Bump | ||
body: updated changelog and _version.py | ||
branch: pre-release-version-bump | ||
reviewers: Jaybsoni | ||
base: main | ||
reviewers: rmoyard | ||
base: master |
This file was deleted.
Oops, something went wrong.