1
0
mirror of https://github.com/SimonPistache/famfamfam-silk-svg.git synced 2025-06-08 01:54:20 +02:00

ci(#202): 👷 Add Conventional Commit Validation

This commit is contained in:
Simon Pistache 2025-03-04 10:54:15 +01:00
parent 314fb72f92
commit 58fdc4bd67
2 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,5 @@
name: Automatic Release name: Automatic Release
run-name: Release a new version of the Icons on PR's merging run-name: Release a new version of the icon pack on PR's merging
on: on:
pull_request: pull_request:

16
.github/workflows/pr-cc.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: PR Conventional Commit Validation
run-name: Enforce that PR name follow Conventional Commits
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/PRConventionalCommits@1
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
add_label: 'false'