diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index 0a2b54f59b0..2b383930e97 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -37,8 +37,8 @@ jobs: - name: Get branch name id: get-ref run: | - BRANCH=$(gh api /repos/${{ github.repository }}/pulls/${{ github.event.issue.number }} | jq -r '.head.ref') - echo ::set-output name=ref::${BRANCH} + SHA=$(gh api /repos/${{ github.repository }}/pulls/${{ github.event.issue.number }} | jq -r '.head.sha') + echo ::set-output name=ref::${SHA} - name: Send comment. Test are executing id: send-status