未验证 提交 20bf2883 编写于 作者: K Kirill Sizov 提交者: GitHub

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

上级 ba308336
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册