mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
21 lines
585 B
YAML
21 lines
585 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|build\(deps\)|build\(deps-dev\)): .+)$'
|
|
pr-body-regex: '(.*)?'
|