Skip to content

Commit

Permalink
Added console.log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Belle P authored and Belle P committed Nov 20, 2024
1 parent 1d60729 commit 37b05d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sync-status-across-projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ jobs:
}
}
`;
console.log("GraphQL Query:", query);
console.log("Running GraphQL Query with orgName:", orgName, "and projectNumber:", projectNumber);
const { data } = await github.graphql(query, {
orgName: orgName,
projectNumber: projectNumber
});
console.log("GraphQL Response:", JSON.stringify(data, null, 2));
console.log("GraphQL Errors:", JSON.stringify(errors, null, 2));
return data;
};
Expand Down

0 comments on commit 37b05d9

Please sign in to comment.