Skip to content

Commit

Permalink
Update query-issue-info.js
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored Sep 17, 2024
1 parent 5db7ac3 commit 6ea8741
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions github-actions/utils/query-issue-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ async function queryIssueInfo(github, context, issueNum) {
console.log('in query');
console.log(context.repo.owner);
console.log(context.repo.repo);
let owner = context.repo.owner;
let repo = context.repo.repo;
const query = `query($owner: String!, $repo: String!, $issueNum: Int!) {
repository(owner: $owner, name: $repo) {
issue(number: $issueNum) {
Expand All @@ -29,8 +31,8 @@ async function queryIssueInfo(github, context, issueNum) {
}`;

const variables = {
owner: context.repo.owner,
repo: context.repo.repo,
owner: owner,
repo: repo,
issueNum: issueNum
};
console.log(owner, repo, issueNum);
Expand Down

0 comments on commit 6ea8741

Please sign in to comment.