Skip to content

ci: Check that PR title follows conventional commit prefix #4

ci: Check that PR title follows conventional commit prefix

ci: Check that PR title follows conventional commit prefix #4

Workflow file for this run

name: Deploy
on:
pull_request:
workflow_dispatch:
env:
BUMP_BEHAVIOR: Monday
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Detect API Change
id: changed-api
uses: tj-actions/changed-files@v43
with:
# Avoid using single or double quotes for multiline patterns
files: |
src/coreComponents/schema/**/*.{xsd,rst}
- name: Run step if test file(s) change
if: steps.changed-api.outputs.any_changed == 'true'
env:
BUMP_BEHAVIOR: "major"
run: |
echo "Must be a major change"
- name: Get Next Version
id: semver
uses: ietf-tools/semver-action@v1
with:
token: ${{ github.token }}
branch: develop
noVersionBumpBehavior: patch
- name: Create Release
uses: ncipollo/[email protected]
with:
allowUpdates: true
draft: false
makeLatest: true
name: ${{ steps.semver.outputs.next }}
body: Changelog Contents
token: ${{ github.token }}