Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Nov 26, 2024
1 parent 04b5891 commit 04c9dc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/command-runner/merge.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = async ({ github, context, command, core, commentId }) => {
review_id: pendingReview.data.id
})

const { repository } = await graphqlWithAuth(`
const { repository } = await github.graphql(`
query($owner: String!, $repo: String!, $pullNumber: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $pullNumber) {
Expand Down Expand Up @@ -59,7 +59,7 @@ module.exports = async ({ github, context, command, core, commentId }) => {
body: 'Dismissed'
})

const { repository } = await graphqlWithAuth(`
const { repository } = await github.graphql(`
query($owner: String!, $repo: String!, $pullNumber: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $pullNumber) {
Expand Down

0 comments on commit 04c9dc8

Please sign in to comment.