Skip to content

Commit

Permalink
chore: tbs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaklygin committed Jul 11, 2023
1 parent 4fe2eef commit 64ec19a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test-jira-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,14 @@ jobs:
--argjson numCommitsVar ${NUMCOMMITS} \
--arg headRefVar "$HEAD_REF")
RESPONSE=$(curl --silent --json @- \
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
https://api.github.com/graphql \
-d "$JSON_PAYLOAD")
# RESPONSE=$(curl --silent --json @- \
# -H "Authorization: Bearer ${GITHUB_TOKEN}" \
# https://api.github.com/graphql \
# -d "$JSON_PAYLOAD")
RESPONSE=$(curl --silent -H "Authorization: Bearer ${GITHUB_TOKEN}" \
-H "Content-Type: application/json" \
https://api.github.com/graphql \
-d "$JSON_PAYLOAD")
echo "$RESPONSE"
JIRA_KEYS=$(echo "$RESPONSE" | jq -c '[ .data.repository.commit.history.nodes[].associatedPullRequests.nodes[] | [.title, .bodyText] ]?
| flatten
Expand Down

0 comments on commit 64ec19a

Please sign in to comment.