From f0b010c4f5eefbdacdb4f8c6a6d80176e1d12c68 Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Mon, 25 Apr 2022 13:05:26 +0200 Subject: [PATCH 1/3] fix: Avoid non semantic commontes can be merged. --- .github/workflows/semantic-check.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/semantic-check.yml diff --git a/.github/workflows/semantic-check.yml b/.github/workflows/semantic-check.yml new file mode 100644 index 0000000000..6584302d4d --- /dev/null +++ b/.github/workflows/semantic-check.yml @@ -0,0 +1,27 @@ +ame: "Semantic Check" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +permissions: + contents: read + pull-requests: read + +jobs: + main: + name: Semantic Commit Message Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: amannn/action-semantic-pull-request@v4 + name: Check PR for Semantic Commit Message + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + requireScope: false + validateSingleCommit: true From 10efc8519f3ffab2533a41fa1dd1984cc24174c8 Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Mon, 25 Apr 2022 13:07:47 +0200 Subject: [PATCH 2/3] fix: Avoid non semantic commontes can be merged. --- .github/workflows/semantic-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/semantic-check.yml b/.github/workflows/semantic-check.yml index 6584302d4d..9fc6cb3cdd 100644 --- a/.github/workflows/semantic-check.yml +++ b/.github/workflows/semantic-check.yml @@ -1,4 +1,4 @@ -ame: "Semantic Check" +name: "Semantic Check" on: pull_request_target: @@ -25,3 +25,4 @@ jobs: with: requireScope: false validateSingleCommit: true + ignoreLabels: release From ef2f0eec0fba26a19f987fa827a8563fef39042c Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Mon, 25 Apr 2022 13:09:43 +0200 Subject: [PATCH 3/3] fix: Avoid non semantic commontes can be merged. --- .github/workflows/semantic-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semantic-check.yml b/.github/workflows/semantic-check.yml index 9fc6cb3cdd..a266070197 100644 --- a/.github/workflows/semantic-check.yml +++ b/.github/workflows/semantic-check.yml @@ -25,4 +25,4 @@ jobs: with: requireScope: false validateSingleCommit: true - ignoreLabels: release + ignoreLabels: release merge