Skip to content

Commit

Permalink
chore: update action conventional commits
Browse files Browse the repository at this point in the history
feat: update action conventional commits

ING-3232
  • Loading branch information
emanuelaepure10 committed Mar 6, 2024
1 parent d7789f9 commit 3483268
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action-conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- uses: webiny/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional, for private repositories.
allowed-commit-types: "feat,fix" # Optional, set if you want a subset of commit types to be allowed.
allowed-commit-types: "feat,fix,docs,style,refactor,perf,test,chore" # Optional, set if you want a subset of commit types to be allowed.
7 changes: 3 additions & 4 deletions .github/workflows/gs-commit-message-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
- name: Check Commit Type
uses: gsactions/commit-message-checker@v1
with:
pattern: '^.+(feat|fix|docs|style|refactor|perf|test|chore): .+$'
flags: 'gm'
pattern: '^.+(feat|fix|docs|style|refactor|perf|test|chore): .+$'
error: 'Your first line has to contain a commit type like "feat: your_title".'
- name: Check Line Length
uses: gsactions/commit-message-checker@v1
Expand All @@ -40,5 +39,5 @@ jobs:
- name: Check for Resolves / Fixes
uses: gsactions/commit-message-checker@v1
with:
pattern: '^.+(feat|fix|docs|style|refactor|perf|test|chore): \#[0-9]+$'
error: 'You need at least one "feat|fix|docs|style|refactor|perf|test|chore: #<issue number>" line.'
pattern: '^.+(ING)\-[0-9]+$'
error: 'You need at least one "ING-<issue number>" line.'

0 comments on commit 3483268

Please sign in to comment.