Skip to content

Add new checks to fix enhance deployment #606

Add new checks to fix enhance deployment

Add new checks to fix enhance deployment #606

Workflow file for this run

# Checks for Git branches and commit messages to keep consistency
name: Git
on: [ "pull_request" ]
jobs:
# Verify that the branch name matches the format
verify_branch_name:
runs-on: ubuntu-latest
steps:
- name: Check branch name
uses: deepakputhraya/action-branch-name@master
with:
regex: '([a-zA-Z0-0-])+\/([a-zA-Z0-0-])+'
allowed_prefixes: "feature,fix,hotfix,release,renovate"
ignore: main
# Verify that the commits matches the format
verify_commit_messages:
if: (github.actor!= 'renovate[bot]') && (contains(github.head_ref, 'renovate/github_actions/') == false)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run commitlint
uses: wagoid/commitlint-github-action@v5
with:
configFile: commitlint.config.js