From e0280bc947d6cf9cf1e9bb4a9c10f54d46ca964e Mon Sep 17 00:00:00 2001 From: Yashasvi Nancherla Date: Thu, 4 Dec 2025 10:26:40 +0530 Subject: [PATCH] Create commit-check.yml Adds the commit-msg-check github action to check the commit messages that are added to any PRs raised on this repo Signed-off-by: Yashasvi Nancherla --- .github/workflows/commit-check.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/commit-check.yml diff --git a/.github/workflows/commit-check.yml b/.github/workflows/commit-check.yml new file mode 100644 index 0000000000000..750c2eefde8a4 --- /dev/null +++ b/.github/workflows/commit-check.yml @@ -0,0 +1,19 @@ +name: Commit Msg Check Action + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + check-commits: + runs-on: ubuntu-latest + + steps: + - name: Run custom commit check + uses: qualcomm/commit-msg-check-action@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + body-char-limit: 72 + sub-char-limit: 50 + check-blank-line: true