diff --git a/.github/workflows/assign-pr-author.yml b/.github/workflows/assign-pr-author.yml index 907e54d..be8d999 100644 --- a/.github/workflows/assign-pr-author.yml +++ b/.github/workflows/assign-pr-author.yml @@ -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: diff --git a/.github/workflows/check-title.yml b/.github/workflows/check-title.yml new file mode 100644 index 0000000..ada9daa --- /dev/null +++ b/.github/workflows/check-title.yml @@ -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}:
[API] Change API that permit to access on the application (un-compatibility only). This one can specifically added with [API,{TYPE}]
[DEV-OPS] Update automatic build system, method to deliver application/packages, ...
[DOC] Update or add some documentation.
[FEAT] Develop a new feature
[FIX] When fixing issue
[FIX-CI] When the CI fail to build and we apply a correction to set it work again.
[STYLE] Update of the style tools/checker, or add/remove rules." diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9b7f5ec..7ab13da 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -12,7 +12,6 @@ on: push: branches: [ "develop" ] pull_request: - branches: [ "develop" ] jobs: build: