[FEAT] add workflow
This commit is contained in:
parent
9da5f589db
commit
0cc0bc43d1
5
.github/workflows/assign-pr-author.yml
vendored
5
.github/workflows/assign-pr-author.yml
vendored
@ -1,9 +1,10 @@
|
|||||||
---
|
---
|
||||||
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:
|
||||||
|
33
.github/workflows/check-title.yml
vendored
Normal file
33
.github/workflows/check-title.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
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,)?(API|DEV-OPS|DOC|FEAT|FIX|FIX\\-CI|STYLE)\\] (\\([A-Za-z0-9.\\-]+\\) )? [A-Za-z0-9 ,.'\\-!]+$"
|
||||||
|
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.
|
||||||
|
Examples:
|
||||||
|
[FEAT] My beautiful feature
|
||||||
|
[API,FIX] Change API to fix typo
|
||||||
|
[FIX] (module) Correct part of ...
|
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@ -10,15 +10,13 @@ name: Java CI with Maven
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "develop" ]
|
branches:
|
||||||
|
- develop
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "develop" ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
|
Loading…
Reference in New Issue
Block a user