1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/.github/workflows/pull_request_linting.yaml
jbpratt b0cc36b78e chore: expand pr-title-regex (#4698)
allowing the following variations:

- `test: ...`
- `test(api): ...`
- `chore: ...`
- `chore(deps): ...`

Signed-off-by: Brady Pratt <bpratt@redhat.com>
2025-12-09 02:55:26 -06:00

21 lines
599 B
YAML

name: Pull Request Lint
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
jobs:
conventional-commit:
runs-on: ubuntu-latest
name: conventional commit check
steps:
- name: Checkout
uses: actions/checkout@v3
- name: check conventional commit
id: check-for-cc
uses: agenthunt/conventional-commit-checker-action@v2.0.0
with:
pr-title-regex: '^(?:\[[^\]]+\] )?(?:[a-z]+(?:\([^)]+\))?: .+ \(PROJQUAY-[0-9]+\)|(?:chore|test)(?:\([^)]+\))?: .+|build\(deps(?:-dev)?\): .+)$'
pr-body-regex: '(.*)?'