diff --git a/.github/workflows/lint-pr.yaml b/.github/workflows/lint-pr.yaml index ad6df65f2..5ca99fc54 100644 --- a/.github/workflows/lint-pr.yaml +++ b/.github/workflows/lint-pr.yaml @@ -6,6 +6,13 @@ on: - opened - edited - synchronize + - reopened + pull_request: + types: + - opened + - edited + - synchronize + - reopened jobs: main: @@ -15,3 +22,8 @@ jobs: - uses: amannn/action-semantic-pull-request@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - uses: deepakputhraya/action-pr-title@master + with: + max_length: 72 # Max length of PR title + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitlint b/.gitlint index 15251e34a..ff4f968d1 100644 --- a/.gitlint +++ b/.gitlint @@ -1,3 +1,3 @@ [general] contrib=contrib-title-conventional-commits -ignore=body-is-missing +ignore=body-is-missing,title-max-length