Auto bump package version #4
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: Auto bump package version | |
# Fire after merge to the main branch | |
# Depends on CI success completion | |
on: | |
workflow_run: | |
workflows: | |
- Node CI | |
branches: | |
- main | |
types: | |
- completed | |
permissions: | |
contents: write | |
jobs: | |
bump: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Automated version bump | |
uses: 'phips28/gh-action-bump-version@master' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag-prefix: 'v' | |
major-wording: 'BREAKING CHANGE,MAJOR,cut-major' | |
minor-wording: 'minor,feat' | |
patch-wording: 'Bump,patch,fixes' | |
rc-wording: 'RELEASE,alpha' |