comphead commented on code in PR #151:
URL:
https://github.com/apache/arrow-datafusion-comet/pull/151#discussion_r1510016183
##########
.github/workflows/pr_build.yml:
##########
@@ -126,3 +126,17 @@ jobs:
- if: matrix.test-target == 'java'
name: Java test steps
uses: ./.github/actions/java-test
+ check-pr-title:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: Check PR title
+ env:
+ PR_TITLE: ${{ github.event.pull_request.title }}
+ run: |
+ if ! echo $PR_TITLE | grep -Eq '^(\w+)(\(.+\))?: .+$'; then
+ echo "PR title does not follow conventional commit style."
+ echo "Please use a title in the format: type: message, or
type(scope): message"
Review Comment:
Much nicer
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]