Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Aug 3, 2024
1 parent 6e76b5d commit 07a4383
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Test and Build
- name: Build
run: |
pnpm run build
2 changes: 2 additions & 0 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
- name: Validate PR title
uses: amannn/action-semantic-pull-request@v5
with:
wip: true
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
requireScope: false
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
3 changes: 1 addition & 2 deletions internal/lint-configs/commitlint-config/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const userConfig = {
defaultScope: scopeComplete,
// English
typesAppend: [
{ name: 'wip: work in process', value: 'wip' },
{ name: 'workflow: workflow improvements', value: 'workflow' },
{ name: 'types: type definition file changes', value: 'types' },
],
Expand Down Expand Up @@ -122,7 +121,7 @@ const userConfig = {
'header-max-length': [2, 'always', 108],

'scope-enum': [0],
'subject-case': [0],
'subject-case': [2, 'always', 'lower-case'],
'subject-empty': [2, 'never'],
'type-empty': [2, 'never'],
/**
Expand Down

0 comments on commit 07a4383

Please sign in to comment.