We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccd5eb5 commit 973fef1Copy full SHA for 973fef1
.github/workflows/test.yml
@@ -14,6 +14,7 @@ jobs:
14
- name: Get head SHA & repo
15
id: get_head
16
run: |
17
+ set -euo pipefail
18
query='query pullRequestDetails { repository(name: \"${{ github.event.repository }}\", owner: \"${{ github.event.organization }}\") { pullRequest(number: 416) { headRef { target { oid } } headRepository { sshUrl } } } }'
19
result=$(curl -H "Authorization: Bearer $GITHUB_TOKEN" -X POST -d " { \"query\": \"$query\" } " https://api.github.com/graphql)
20
echo "result: $result"
0 commit comments