From 127de34a208c92cddcc27535dc23ada8685e5af7 Mon Sep 17 00:00:00 2001 From: Severiano Badajoz Date: Mon, 24 Oct 2022 20:08:25 +0200 Subject: [PATCH] feat: Add PR Linting (#2560) --- .github/workflows/lint-pr-commit-message.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/lint-pr-commit-message.yml diff --git a/.github/workflows/lint-pr-commit-message.yml b/.github/workflows/lint-pr-commit-message.yml new file mode 100644 index 00000000..a0c184fc --- /dev/null +++ b/.github/workflows/lint-pr-commit-message.yml @@ -0,0 +1,19 @@ + +name: "Lint PR commit message" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v3.4.1 + with: + validateSingleCommit: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}