👷 misc(CI): allow longer PR titles for dep updates

bd45a1ae45997b950c703d1ebf1e34b3b82173eb didn't work
This commit is contained in:
welpo 2024-11-01 14:23:36 +01:00
parent 5f16885b36
commit fa9f160342
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

View File

@ -16,7 +16,9 @@ jobs:
name: Run git-sumi
runs-on: ubuntu-24.04
steps:
- name: Set header length for dependency updates
if: contains(github.event.pull_request.title, 'deps:')
run: echo "GIT_SUMI_MAX_HEADER_LENGTH=80" >> $GITHUB_ENV
- uses: welpo/git-sumi-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_SUMI_MAX_HEADER_LENGTH: ${{ contains(github.event.pull_request.title, 'deps:') && '80' || '' }} # Allow longer titles for dependency updates.