Skip to content

Commit

Permalink
add PR conventional commit validation (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksym-arutyunyan authored Aug 1, 2024
1 parent eac0717 commit 6b9200c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci-pr-only-cov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copied & adapted (job name, version label) from
# https://github.com/ytanikin/PRConventionalCommits?tab=readme-ov-file#usage-with-labeling-where-label-is-just-a-task-type

name: PR Conventional Commit Validation

on:
pull_request:
types: [opened, synchronize, reopened, edited]

jobs:
validate-pr-title:
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/PRConventionalCommits@8d258b54939f6769fcd935a52b96d6b0383a00c5 # v1.2.0
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'

0 comments on commit 6b9200c

Please sign in to comment.