diff --git a/.github/workflows/pr-convention.yml b/.github/workflows/pr-convention.yml index 43d0919001..176394d7d9 100644 --- a/.github/workflows/pr-convention.yml +++ b/.github/workflows/pr-convention.yml @@ -20,6 +20,12 @@ jobs: echo "Modified files: ${{ steps.file_changes.outputs.modified }}" echo "Deleted files: ${{ steps.file_changes.outputs.deleted }}" + - uses: actions/clubhouse-pr@v2 + with: + regex: '^[a-zA-Z]+(\([a-zA-Z]+\))?: .+' + allowed_prefixes: "feat,fix,docs,style,refactor,test,chore,ci,perf,revert" + prefix_case_sensitive: false + - uses: actions/clubhouse-pr@v2 with: ghToken: ${{ secrets.GITHUB_TOKEN }}