Skip to content

Commit

Permalink
try query for finding Eco-CI comments v6
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-mm committed Oct 30, 2023
1 parent 69587cc commit 003825b
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 @@ -164,7 +164,7 @@ runs:
REPO_NAME="${FULL_REPO#*/}"
# 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 } } } } }'
query='query { search(query: \"repo: '${{ github.repository }}' is:pr is:open number:'$PR_NUMBER'\", last:10, type:ISSUE){ edges{ node{ ... on PullRequest{ body title } } } } }'
query='query { search(query: \"repo: '${{ github.repository }}' is:pr is:open\", 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 003825b

Please sign in to comment.