Skip to content

Commit

Permalink
ci:
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav-Eikaas committed Dec 20, 2023
1 parent 5b24649 commit aa2ae03
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/helpers/src/issue-checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@ await program.parseAsync();

async function checkIssues(client: Octo, pr: number) {
const pullRequests = await client.graphql({
query: `query {
repository ($owner: String!, $name: String!){
pullRequest ($number: Int!) {
query: `query($owner: String!, $name: String!, $number: Int!) {
repository (owner: $owner, name: $name){
pullRequest (number: $number) {
closingIssuesReferences (first: 1){
totalCount
}
}
}
}
`,
owner: 'equinor' ?? context.repo.owner,
name: 'fusion-workspace' ?? context.repo.repo,
owner: context.repo.owner,
name: context.repo.repo,
number: pr,
});

Expand Down

0 comments on commit aa2ae03

Please sign in to comment.