Replace allowableConversionType with conversionGroup #95
Workflow file for this run
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 tag based on commit msg | |
on: | |
pull_request: # only run on PR otherwise bot can't commit to protected branch | |
types: [ closed ] | |
branches: ['develop'] | |
jobs: | |
build: | |
name: 'Bump version and commit package.json' | |
runs-on: ubuntu-latest | |
environment: production | |
if: | | |
github.event.pull_request.merged == true | |
steps: | |
- name: 'Checkout source code' | |
uses: 'actions/checkout@v3' | |
with: | |
token: ${{ secrets.BOT_USER_TOKEN }} | |
ref: 'develop' | |
- name: 'Automated Version Bump' | |
id: version-bump | |
uses: 'phips28/gh-action-bump-version@master' | |
env: | |
GITHUB_TOKEN: ${{ secrets.BOT_USER_TOKEN }} | |
with: | |
patch-wording: '[npm release]' | |
tag-prefix: 'v' | |
target-branch: 'develop' | |
call-npm-publish-workflow: | |
needs: build | |
if: "startsWith(github.event.pull_request.title, '[npm publish]')" | |
uses: ./.github/workflows/npm-publish.yml | |
secrets: inherit | |