Skip to content

Commit a0fbff8

Browse files
authored
Create commit-check.yml
Adds the commit-msg-check github action Checks the commit messages that are added Valid on any PRs raised on this repo Signed-off-by: Yashasvi Nancherla <ynancher@qti.qualcomm.com>
1 parent ac3fd01 commit a0fbff8

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/commit-check.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Commit Msg Check Action
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
check-commits:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Run custom commit check
13+
uses: qualcomm/commit-msg-check-action@main
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
with:
17+
body-char-limit: 72
18+
sub-char-limit: 50
19+
check-blank-line: true

0 commit comments

Comments
 (0)