-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (27 loc) · 1.12 KB
/
versionBumpCheck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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: 20
- 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'