Bump Version #3
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
## XXX This can not currently run with restrictions we have on branch protections | |
name: Bump Version | |
on: | |
workflow_dispatch: | |
inputs: | |
semType: | |
description: 'Semantic version part to bump' | |
required: true | |
default: 'bug' | |
type: choice | |
options: | |
- major | |
- minor | |
- bug | |
jobs: | |
bump: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- run: python bump.py --sem=${{ inputs.semType }} | |
- name: Commit & Push changes | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |