diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 01d096c..b2dd68c 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -4,6 +4,8 @@ on: push: branches: - "master" + pull_request: + branches: [ master ] jobs: bump-version: diff --git a/index.js b/index.js index a6f867f..6bb1071 100644 --- a/index.js +++ b/index.js @@ -90,5 +90,6 @@ Toolkit.run(async tools => { tools.log.fatal(e) tools.exit.failure('Failed to bump version') } + // Test for PR tools.exit.success('Version bumped!') }) diff --git a/package-lock.json b/package-lock.json index a616f97..80d0ded 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "gh-action-bump-version", - "version": "8.0.3", + "version": "8.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ebaa398..bb9ee44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gh-action-bump-version", - "version": "8.0.3", + "version": "8.0.4", "repository": { "type": "git", "url": "git+https://github.com/phips28/gh-action-bump-version.git"