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..971f4c5 --- /dev/null +++ b/.github/workflows/check-title.yml @@ -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" 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: