Skip to content

Commit 0f6474b

Browse files
committed
fix: pass default subjectPattern in compat alias to prevent empty override
1 parent 7d78c7b commit 0f6474b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/pr_checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
delegate:
2424
uses: ./.github/workflows/pr-checks.yml
2525
with:
26-
types: ${{ inputs.types }}
27-
requireScope: ${{ inputs.requireScope }}
28-
subjectPattern: ${{ inputs.subjectPattern }}
29-
validateSingleCommit: ${{ inputs.validateSingleCommit }}
30-
checkLabels: ${{ inputs.checkLabels }}
26+
types: ${{ inputs.types || '' }}
27+
requireScope: ${{ inputs.requireScope || false }}
28+
subjectPattern: ${{ inputs.subjectPattern || '[A-Za-z].+' }}
29+
validateSingleCommit: ${{ inputs.validateSingleCommit || false }}
30+
checkLabels: ${{ inputs.checkLabels || false }}
3131
secrets: inherit
3232
...

0 commit comments

Comments
 (0)