Version Increment on security and maintenance release #5
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: Version Increment on security and maintenance release | |
on: | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
default: 'warning' | |
tags: | |
description: 'Security release' | |
jobs: | |
version: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GH_PUSH_TO_GIT }} | |
- run: git config --global user.name 'Fails maintenance bot' | |
- run: git config --global user.email '[email protected]' | |
- run: npm version patch | |
- run: git push --tags | |
- run: git push |