[FEAT] add workflow
This commit is contained in:
parent
9da5f589db
commit
c06658d9bc
3
.github/auto-assign.yml
vendored
Normal file
3
.github/auto-assign.yml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
addAssignees: author
|
||||
runOnDraft: true
|
15
.github/dependabot.yml
vendored
15
.github/dependabot.yml
vendored
@ -1,12 +1,9 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
---
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "" # See documentation for possible values
|
||||
directory: "/" # Location of package manifests
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
|
||||
interval: "daily"
|
||||
commit-message:
|
||||
prefix: "[DEV-OPS] (dependabot) "
|
||||
|
14
.github/pr-title-checker-config.json
vendored
Normal file
14
.github/pr-title-checker-config.json
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"CHECKS": {
|
||||
"regexp": "\\[(API,)?(API|DEV-OPS|DOC|FEAT|FIX|FIX\\-CI|STYLE)\\]( \\([A-Za-z0-9.\\-/_]+\\))? [A-Za-z0-9 ,.'\\-!/_]+$"
|
||||
},
|
||||
"LABEL": {
|
||||
"color": "EEEEEE",
|
||||
"name": "title needs formatting"
|
||||
},
|
||||
"MESSAGES": {
|
||||
"failure": "Failing CI test",
|
||||
"notice": "Title of the PR MUST respect format: [{TYPE}] clear description without typos in english\n with {TYPE}:\n * [API] Change API that permit to access on the application (un-compatibility only). This one can specifically added with [API,{TYPE}]\n * [DEV-OPS] Update automatic build system, method to deliver application/packages, ...\n * [DOC] Update or add some documentation.\n * [FEAT] Develop a new feature\n * [FIX] When fixing issue\n * [FIX-CI] When the CI fail to build and we apply a correction to set it work again.\n * [STYLE] Update of the style tools/checker, or add/remove rules.\n Examples:\n [FEAT] My beautiful feature\n [API,FIX] Change API to fix typo\n [FIX] (module) Correct part of ...",
|
||||
"success": "All OK"
|
||||
}
|
||||
}
|
15
.github/workflows/assign-pr-author.yml
vendored
15
.github/workflows/assign-pr-author.yml
vendored
@ -1,15 +0,0 @@
|
||||
---
|
||||
name: "Assign PR Author as Assignee"
|
||||
|
||||
"on":
|
||||
pull_request:
|
||||
types: [opened, ready_for_review, reopened]
|
||||
|
||||
jobs:
|
||||
assign-pr-author-as-assignee:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Assign Author as Assignee"
|
||||
uses: itsOliverBott/assign-pr-author-as-assignee@latest
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
13
.github/workflows/auto-assign.yml
vendored
Normal file
13
.github/workflows/auto-assign.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
name: 'Auto Assign'
|
||||
"on":
|
||||
pull_request:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
add-assignee:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: kentaro-m/auto-assign-action@v2.0.0
|
||||
with:
|
||||
configuration-path: '.github/auto-assign.yml'
|
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@ -10,15 +10,13 @@ name: Java CI with Maven
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "develop" ]
|
||||
branches:
|
||||
- develop
|
||||
pull_request:
|
||||
branches: [ "develop" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
|
22
.github/workflows/pr-title-checker.yml
vendored
Normal file
22
.github/workflows/pr-title-checker.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
name: "PR Title Checker"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
- reopened
|
||||
- labeled
|
||||
- unlabeled
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: thehanimo/pr-title-checker@v1.4.0
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
pass_on_octokit_error: false
|
Loading…
Reference in New Issue
Block a user