Skip to content

Commit

Permalink
fix ecosystem-ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Nov 26, 2024
1 parent f7f8f84 commit 5e2bcc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ecosystem-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 5e2bcc0

Please sign in to comment.