Skip to content

Commit

Permalink
try query for finding Eco-CI comments v5
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-mm committed Oct 30, 2023
1 parent 3cb491d commit 69587cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ runs:
FULL_REPO="${{ github.repository }}"
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 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 } } } } }'
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 69587cc

Please sign in to comment.