[FEAT] add workflow

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

View File

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

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

@ -0,0 +1,16 @@
---
name: "Assign PR Author as Assignee"
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
assign-pr-author-as-assignee:
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: "plopppppp"

View File

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