Skip to content

Commit 973fef1

Browse files
committed
.
1 parent ccd5eb5 commit 973fef1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- name: Get head SHA & repo
1515
id: get_head
1616
run: |
17+
set -euo pipefail
1718
query='query pullRequestDetails { repository(name: \"${{ github.event.repository }}\", owner: \"${{ github.event.organization }}\") { pullRequest(number: 416) { headRef { target { oid } } headRepository { sshUrl } } } }'
1819
result=$(curl -H "Authorization: Bearer $GITHUB_TOKEN" -X POST -d " { \"query\": \"$query\" } " https://api.github.com/graphql)
1920
echo "result: $result"

0 commit comments

Comments
 (0)