From 7e3688fdd0ae9df10b0ab6712af45dfdc36cb780 Mon Sep 17 00:00:00 2001 From: Pepe Fagoaga Date: Tue, 25 Feb 2025 14:36:55 +0545 Subject: [PATCH] chore(action): Conventional Commit Check (#7033) --- .github/workflows/conventional-commit.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/conventional-commit.yml diff --git a/.github/workflows/conventional-commit.yml b/.github/workflows/conventional-commit.yml new file mode 100644 index 0000000000..0a45e7fd30 --- /dev/null +++ b/.github/workflows/conventional-commit.yml @@ -0,0 +1,23 @@ +name: Prowler - Conventional Commit + +on: + pull_request: + types: + - "opened" + - "edited" + - "synchronize" + branches: + - "master" + - "v3" + - "v4.*" + - "v5.*" + +jobs: + conventional-commit-check: + runs-on: ubuntu-latest + steps: + - name: conventional-commit-check + id: conventional-commit-check + uses: agenthunt/conventional-commit-checker-action@v2.0.0 + with: + pr-title-regex: '^([^\s(]+)(?:\(([^)]+)\))?: (.+)'