Skip to content

Commit

Permalink
Check if version is bumped instead of auto-bumping
Browse files Browse the repository at this point in the history
  • Loading branch information
shadanan committed Jan 9, 2024
1 parent 22995b9 commit 57c37b2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: phips28/gh-action-bump-version@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
major-wording: "MAJOR:"
minor-wording: "MINOR:"
- uses: actions/setup-node@v2
with:
node-version: 20.x
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Ensure package.json version is bumped

on:
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Ensure version is bumped
uses: del-systems/check-if-version-bumped@v1

0 comments on commit 57c37b2

Please sign in to comment.