Skip to content

Commit

Permalink
feat: change commit linter - RK-19094 (#81)
Browse files Browse the repository at this point in the history
* feat: change commit linter

Signed-off-by: Gosha <[email protected]>

* feat: change commit linter

Signed-off-by: Gosha <[email protected]>

---------

Signed-off-by: Gosha <[email protected]>
  • Loading branch information
gosharo authored Jul 2, 2023
1 parent 7821785 commit 4586284
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/lint-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ name: Lint Commit
on: pull_request
jobs:
conventional:
name: Conventional PR
name: Conventional Commit Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: beemojs/conventional-pr-action@v2
env:
GITHUB_TOKEN: ${{ github.token }}
- uses: taskmedia/[email protected]
with:
token: ${{ github.token }}
types: fix|feat|revert|ci
3 changes: 2 additions & 1 deletion .github/workflows/lint-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
docs
chore
revert
ci
# Configure which scopes are allowed (newline delimited).
scopes: |
core
RK-\d+
# Configure that a scope must always be provided.
requireScope: false
Expand Down

0 comments on commit 4586284

Please sign in to comment.