Skip to content

Merge pull request #65 from AlecsMissangu/updated-data-catalog-compon… #75

Merge pull request #65 from AlecsMissangu/updated-data-catalog-compon…

Merge pull request #65 from AlecsMissangu/updated-data-catalog-compon… #75

name: Create release pull request
on:
push:
branches:
- "*"
jobs:
create-release-pr:
runs-on: ubuntu-latest
steps:
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v7
- name: Create release PR
uses: google-github-actions/release-please-action@v3
if: ${{ steps.branch-name.outputs.current_branch == 'main' }}
with:
release-type: node
package-name: "@telicent-oss/ds"
prerelease: false
- name: Create prerelease PR
uses: google-github-actions/release-please-action@v3
if: ${{ startsWith(github.event.head_commit.message, 'chore:') && contains(github.event.head_commit.message, 'prerelease') }}
with:
release-type: node
package-name: "@telicent-oss/ds"
prerelease: true
default-branch: ${{ github.ref_name }}