From fa9f16034241ccee6229ef0279b3b9bc65249cfa Mon Sep 17 00:00:00 2001 From: welpo Date: Fri, 1 Nov 2024 14:23:36 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20misc(CI):=20allow=20longer=20PR?= =?UTF-8?q?=20titles=20for=20dep=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bd45a1ae45997b950c703d1ebf1e34b3b82173eb didn't work --- .github/workflows/git-sumi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/git-sumi.yml b/.github/workflows/git-sumi.yml index 2e8520ea4..a4b14471d 100644 --- a/.github/workflows/git-sumi.yml +++ b/.github/workflows/git-sumi.yml @@ -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.