Skip to content

ci: [DDS-515] Fixed conventional-pull-request-action settings #269

ci: [DDS-515] Fixed conventional-pull-request-action settings

ci: [DDS-515] Fixed conventional-pull-request-action settings #269

Workflow file for this run

name: "PR Title Check"
on:
pull_request:
types:
- opened
- edited
- closed
- reopened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-pr:
name: "PR format check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# check for the most recent release: https://github.com/CondeNast/conventional-pull-request-action/releases
# replace vX.X.X below with the most recently released version
- uses: CondeNast/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# to override config-conventional rules, specify a relative path to your rules module, actions/checkout is required for this setting!
commitlintRulesPath: "./.github/linters/.commitlint.rules.js" # default: undefined
# if the PR contains a single commit, fail if the commit message and the PR title do not match
commitTitleMatch: "false" # default: 'true'