Skip to content

chore(main): [bot] release base-cluster:4.7.0 #721

chore(main): [bot] release base-cluster:4.7.0

chore(main): [bot] release base-cluster:4.7.0 #721

name: Validate and label Pull Request
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
validateCommits:
if: ${{ !startsWith(github.head_ref, 'release-please--') }}
name: Validate commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Conventional commit check
uses: cocogitto/cocogitto-action@v3
validateAndLabelPR:
if: ${{ !startsWith(github.head_ref, 'release-please--') }}
name: Validate and label PR
runs-on: ubuntu-latest
env:
CT_TARGET_BRANCH: ${{ github.event.repository.default_branch }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: helm/[email protected]
- name: Conventional commit check
uses: cocogitto/cocogitto-action@v3
with:
check: false
- run: .github/scripts/validate-and-label-pullrequest.sh
env:
PR_TITLE: ${{ github.event.pull_request.title }}
GITHUB_TOKEN: ${{ github.token }}
ISSUE_NUMBER: ${{ github.event.number }}