diff --git a/.github/workflows/lint-commit.yaml b/.github/workflows/lint-commit.yaml index 228c9986..c086dadb 100644 --- a/.github/workflows/lint-commit.yaml +++ b/.github/workflows/lint-commit.yaml @@ -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/action-conventional-commits@v1.1.3 + with: + token: ${{ github.token }} + types: fix|feat|revert|ci diff --git a/.github/workflows/lint-pr.yaml b/.github/workflows/lint-pr.yaml index ec12b727..146c31c7 100644 --- a/.github/workflows/lint-pr.yaml +++ b/.github/workflows/lint-pr.yaml @@ -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