Skip to content

Commit

Permalink
try query for finding Eco-CI comments v3
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-mm committed Oct 30, 2023
1 parent c663657 commit a4cdab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ runs:
# }
# }
# }'
query='query { search(query: \"repo: '${{ github.repository }}' is:pr is:open Eco-CI in:body author:github-actions\", last:10, type:ISSUE){ edges{ node{ ... on PullRequest{ body title } } } } }'
query='query { search(query: \"repo: '${{ github.repository }}' is:pr is:open Eco-CI in:body author:github-actions\ number:'$PR_NUMBER'", last:10, type:ISSUE){ edges{ node{ ... on PullRequest{ body title } } } } }'
echo "DMM---"
echo "$query"
RESPONSE=$(curl -H "Authorization: bearer ${{ github.token }}" -X POST -d "{\"query\":\"$query\"}" https://api.github.com/graphql)
Expand Down

0 comments on commit a4cdab1

Please sign in to comment.