Fix events variable in prepare-release-pr.yml

This commit is contained in:
Bruno Oliveira 2020-12-16 07:53:05 -03:00
parent f1a1de2257
commit a1c5111a40
1 changed files with 2 additions and 2 deletions

View File

@ -32,11 +32,11 @@ jobs:
pip install --upgrade setuptools tox
- name: Prepare release PR (minor/patch release)
if: github.event.inputs.branch.major == 'no'
if: github.event.inputs.major == 'no'
run: |
tox -e prepare-release-pr -- ${{ github.event.inputs.branch }} ${{ secrets.chatops }}
- name: Prepare release PR (major release)
if: github.event.inputs.branch.major == 'yes'
if: github.event.inputs.major == 'yes'
run: |
tox -e prepare-release-pr -- ${{ github.event.inputs.branch }} ${{ secrets.chatops }} --major