Skip to content

Commit ea66c8e

Browse files
committed
fix comment
1 parent a6f52d9 commit ea66c8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/dev_pr.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
// under the License.
1717

1818
async function have_comment(github, context, pr_number, tag) {
19+
console.log(`Looking for existing comment on ${pr_number} with substring ${tag}`);
1920
const query = `
2021
query($owner: String!, $name: String!, $number: Int!, $cursor: String) {
2122
repository(owner: $owner, name: $name) {
2223
pullRequest(number: $number) {
24+
id
2325
comments (after:$cursor, first: 50) {
2426
nodes {
2527
id
@@ -47,7 +49,9 @@ query($owner: String!, $name: String!, $number: Int!, $cursor: String) {
4749
number: pr_number,
4850
cursor,
4951
});
52+
console.log("Got result:")
5053
console.log(result);
54+
console.log(result.repository.pullRequest.comments);
5155
pr_id = result.repository.pullRequest.id;
5256
cursor = result.repository.pullRequest.comments.pageInfo;
5357
const comments = result.repository.pullRequest.comments.nodes;

0 commit comments

Comments
 (0)