Skip to content

Commit

Permalink
Update closing-issues-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Nov 11, 2023
1 parent 2d41114 commit 82df39f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/closing-issues-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
id: get_closing_issues
with:
query: |
query closingIssues($owner: String!, $repo: String!, $prNumber: Int!) {
query closingIssues($owner: String!, $repo: String!, $pr_number: Int!) {
repository(owner:$owner,name:$repo) {
pullRequest(number: $prNumber) {
pullRequest(number: $pr_number) {
id
closingIssuesReferences (first: 50) {
edges {
Expand All @@ -47,9 +47,9 @@ jobs:
}
}
}
owner: ${{ github.event.repository.owner.name }}
repo: ${{ github.event.repository.name }}
prNumber: ${{ github.event.pull_request.number }}
owner: ${{ github.event.pull_request.base.repo.owner.name }}
repo: ${{ github.event.pull_request.base.repo.name }}
pr_number: ${{ github.event.pull_request.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: echo '${{ steps.get_closing_issues.outputs.data }}'
Expand Down

0 comments on commit 82df39f

Please sign in to comment.