From 5e2bcc0c508a46a2368a3f62d15e7e2786416bd4 Mon Sep 17 00:00:00 2001 From: daishi Date: Tue, 26 Nov 2024 11:45:09 +0900 Subject: [PATCH] fix ecosystem-ci workflow --- .github/workflows/ecosystem-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index 1201da0fab..b4e281a0a8 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -23,7 +23,7 @@ jobs: id: short_sha run: | api="https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.issue.number }}" - sha=$(curl -s -H "Authorization: token $GITHUB_TOKEN" $api | jq -r '.head.sha' | cut -c1-10) + sha=$(curl -s -H "Authorization: token $GITHUB_TOKEN" $api | jq -r '.head.sha' | cut -c1-8) echo "x=$sha" >> $GITHUB_OUTPUT env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}