Skip to content

Commit

Permalink
ci: fixing pr checks for subject-case
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjohnson00 committed Apr 8, 2021
1 parent 8b72b32 commit ff987d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_checks.yaml
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: 'Install Dependencies'
run: |
npm install @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [2, 'always', ['sentence-case','lower-case', 'start-case']], 'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js
echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [0, 'always', ['sentence-case','lower-case', 'start-case']], 'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js
- uses: 'JulienKode/pull-request-name-linter-action@v0.2.0'
check-pr-commits:
name: 'PR Commit Messages'
Expand All @@ -27,7 +27,7 @@ jobs:
fetch-depth: 0
- name: 'Configure commit lint'
run: |
echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [2, 'always', ['sentence-case','lower-case', 'start-case']], 'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js
echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [0, 'always', ['sentence-case','lower-case', 'start-case']], 'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js
- uses: 'wagoid/commitlint-github-action@v3.1.0'
apply-labels:
name: 'PR Labels'
Expand Down

0 comments on commit ff987d4

Please sign in to comment.