[FEAT] add workflow

This commit is contained in:
Edouard DUPIN 2024-11-06 16:08:03 +01:00
parent 9da5f589db
commit f1636ec942
3 changed files with 18 additions and 3 deletions

View File

@ -1,9 +1,9 @@
---
name: "Assign PR Author as Assignee"
"on":
on:
pull_request:
types: [opened, ready_for_review, reopened]
types: [opened]
jobs:
assign-pr-author-as-assignee:

16
.github/workflows/check-title.yml vendored Normal file
View File

@ -0,0 +1,16 @@
---
name: "Check PR title"
on:
pull_request:
types: [opened, edited, synchronize, ready_for_review, reopened]
jobs:
check-title:
runs-on: ubuntu-latest
steps:
- name: "Check title"
uses: Slashgear/action-check-pr-title@v4.3.0
with:
regexp: "\\[(API,)?(DEV-OPS|DOC|FEAT|FIX|FIX\\-CI|STYLE)\\] .++"
helpMessage: "Title of the PR MUST respect format: \"[{TYPE}] clear description without typos in english\" with {TYPE}: <br/>[API] Change API that permit to access on the application (un-compatibility only). This one can specifically added with [API,{TYPE}]<br/>[DEV-OPS] Update automatic build system, method to deliver application/packages, ...<br/>[DOC] Update or add some documentation.<br/>[FEAT] Develop a new feature<br/>[FIX] When fixing issue<br/>[FIX-CI] When the CI fail to build and we apply a correction to set it work again.<br/>[STYLE] Update of the style tools/checker, or add/remove rules."

View File

@ -12,7 +12,6 @@ on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build: