dispatch_1_rc_pullrequest #122
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: dispatch_1_rc_pullrequest | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
required: false | |
description: "Use x.y.z format e.g. 2.12.0 or KEEP EMPTY" | |
type: string | |
jobs: | |
dispatch_1_rc_pullrequest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install pipenv | |
run: pip install pipenv | |
- name: setup git user | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
- name: make release | |
run: make clean release | |
env: | |
VERSION: ${{ github.event.inputs.version }} | |
- name: create PR | |
run: | | |
git push -u origin HEAD | |
gh pr create --fill --reviewer mkudlej,mdujava,dhlavac | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |