Skip to content

Bump Version

Bump Version #21

Workflow file for this run

## 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
- name: Generate a token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.GHAPP_ID_NUCLIABOT }}
private-key: ${{ secrets.PK_GHAPP_NUCLIABOT }}
owner: nuclia
- uses: actions/checkout@master
with:
persist-credentials: false
fetch-depth: 0
- run: python bump.py --sem=${{ inputs.semType }}
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ steps.app-token.outputs.token }}