Skip to content

ci: update release action and only publish from protected branch #120

ci: update release action and only publish from protected branch

ci: update release action and only publish from protected branch #120

name: Version dispatch
on:
pull_request:
types:
- closed
jobs:
invoke-versioning:
if: contains(github.event.pull_request.labels.*.name , 'publish-on-merge') == false && contains(github.event.pull_request.labels.*.name , 'skip-release') == false
name: Invoke version workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ExodusMovement/lerna-release-action/version-dispatch@6dc016246588346b8181638a1c093d8c8e14c7f8
with:
version-workflow-id: version.yaml
github-token: ${{ secrets.GH_AUTOMATION_PAT }}
exclude-commit-types: chore,docs,test,ci