From ad1c872601148d4c32b67735a4c6935c6e5e234f Mon Sep 17 00:00:00 2001 From: Niek Palm <npalm@users.noreply.github.com> Date: Mon, 25 Apr 2022 13:11:07 +0200 Subject: [PATCH] fix: Avoid non semantic commontes can be merged. (#1969) * fix: Avoid non semantic commontes can be merged. * fix: Avoid non semantic commontes can be merged. * fix: Avoid non semantic commontes can be merged. --- .github/workflows/semantic-check.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..a266070197 --- /dev/null +++ b/.github/workflows/semantic-check.yml @@ -0,0 +1,28 @@ +name: "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 + ignoreLabels: release merge