Skip to content

[DevEx]: components name instance in pascalcase #40

[DevEx]: components name instance in pascalcase

[DevEx]: components name instance in pascalcase #40

Workflow file for this run

on:
pull_request:
branches:
- main
types: [closed]
jobs:
bump-version:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PUSH_TOKEN }}
- name: configure git
run: |
git remote set-url origin https://[email protected]/cuttle-cards/cuttle
git config --global user.name "Cuttle Continuous Integration"
git config --global user.email "[email protected]"
- name: bump patch version
if: contains(github.event.pull_request.labels.*.name, 'version-patch')
run: npm run version:patch
- name: bump minor version
if: contains(github.event.pull_request.labels.*.name, 'version-minor')
run: npm run version:minor
- name: bump major version
if: contains(github.event.pull_request.labels.*.name, 'version-major')
run: npm run version:major
- name: push
run: git push origin main