We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50eaad7 commit 4547b9cCopy full SHA for 4547b9c
1 file changed
.github/workflows/coverage_report.yml
@@ -23,10 +23,10 @@ jobs:
23
id: get_pr_number
24
env:
25
SHA: "${{ github.event.workflow_run.head_sha }}"
26
- REPO: "${{github.repository}}"
+ REPO: "${{ github.repository }}"
27
run: |
28
# Query GitHub API to find the PR number associated with the head commit SHA
29
- PR_DATA=$(curl -s "https://api.github.com/search/issues?q=repo:$REPO+type:pr+sha:$SHA" | jq -c '.')
+ PR_DATA=$(curl -s "https://api.github.com/search/issues?q=repo:$REPO+type:pr+sha:$SHA")
30
# Check if head commit is on a single PR else ambiguous which PR triggered the workflow
31
ITEMS_COUNT=$(jq '.items | length' <<< "$PR_DATA")
32
if [ "$ITEMS_COUNT" -ne 1 ]; then
0 commit comments