feat: Ajoute un Conventional Commit

This commit is contained in:
Simon Pistache 2025-04-14 13:23:54 +02:00
parent 813e214c1f
commit 9299e20320

20
.gitea/workflow/pc-cc.yml Normal file
View File

@ -0,0 +1,20 @@
name: Conventional Commit
run-name: Enforce that PR name follow Conventional Commits
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
Validate:
runs-on: ubuntu-latest
steps:
- run: echo "Here is the Token ${{ gitea.token }}"
- run: echo "Here is the Event that triggered this workflow ${{ gitea.event_name }}"
- run: echo "Here is a secret ${{ secrets.RELEABOT_TOKEN }}"
- name: PR Conventional Commit Validation
uses: ytanikin/pr-conventional-commits@1.4.1
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
add_label: 'false'