Woven planet (#329) #1152
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 Bump Check | |
# Description: | |
# In this workflow we check for keywords in commit message to determine if | |
# a specific version bump is necessary. This check runs on every push and can | |
# perform version updates before and during a pull request. | |
on: push | |
jobs: | |
check_push_version_bump: | |
name: 'Check Push Version Bump' | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout source code" | |
uses: actions/checkout@v4 | |
- name: "Setup Node.js" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: "Automated Version Bump (Push)" | |
uses: 'phips28/gh-action-bump-version@master' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
skip-tag: 'true' | |
minor-wording: 'minor,Minor,MINOR,add,Adds,ADD,ADDS,new,New,NEW,feat,Feat,FEAT,feature,Feature,FEATURE,features,Features,FEATURES' | |
major-wording: 'major,MAJOR,cut-major,Cut-Major,break,Break,BREAK,breaking,Breaking,BREAKING' | |
patch-wording: 'patch,Patch,PATCH,patches,Patches,PATCHES,fix,Fix,FIX,fixes,Fixes,FIXES' | |
rc-wording: 'RELEASE,alpha' |