Skip to content

Commit cdfc14d

Browse files
committed
added linting and formatting
1 parent c6d0120 commit cdfc14d

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Validation - Conventional commits
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- edited
7+
- opened
8+
- ready_for_review
9+
- reopened
10+
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
15+
jobs:
16+
main:
17+
name: Validate PR title
18+
runs-on: ubuntu-latest
19+
timeout-minutes: 5
20+
steps:
21+
- uses: amannn/action-semantic-pull-request@v5
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
with:
25+
types: |
26+
feat
27+
fix
28+
docs
29+
style
30+
refactor
31+
perf
32+
test
33+
build
34+
ci
35+
chore
36+
revert
37+
requireScope: false
38+
subjectPattern: ^(?![A-Z]).+$
39+
subjectPatternError: |
40+
The subject should start with a lowercase letter, yours is uppercase:
41+
"{subject}"

0 commit comments

Comments
 (0)