Full check: use SHA instead of branch name (#5009)

main
Kirill Sizov 3 years ago committed by GitHub
parent ba308336c6
commit 20bf2883f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save