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:
parent
314fb72f92
commit
58fdc4bd67
2
.github/workflows/auto-release.yml
vendored
2
.github/workflows/auto-release.yml
vendored
@ -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
16
.github/workflows/pr-cc.yml
vendored
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user