mirror of
https://github.com/immich-app/devtools.git
synced 2026-09-30 21:27:48 +08:00
21 lines
646 B
YAML
21 lines
646 B
YAML
name: PR Conventional Commit Validation
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
validate-pr-title:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
steps:
|
|
# Potentially replace with https://github.com/amannn/action-semantic-pull-request
|
|
- name: PR Conventional Commit Validation
|
|
if: ${{ !startsWith(github.event.pull_request.head.ref, 'mergify/merge-queue/') }}
|
|
uses: ytanikin/PRConventionalCommits@b628c5a234cc32513014b7bfdd1e47b532124d98 # 1.3.0
|
|
with:
|
|
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
|
|
add_label: 'false'
|