summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pr-standards.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/pr-standards.yml b/.github/workflows/pr-standards.yml
index fb62e660e..c1cf17567 100644
--- a/.github/workflows/pr-standards.yml
+++ b/.github/workflows/pr-standards.yml
@@ -105,7 +105,7 @@ jobs:
query($owner: String!, $repo: String!, $number: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $number) {
- issuesReferences(first: 1) {
+ closingIssuesReferences(first: 1) {
totalCount
}
}
@@ -119,7 +119,7 @@ jobs:
number: pr.number
});
- const linkedIssues = result.repository.pullRequest.issuesReferences.totalCount;
+ const linkedIssues = result.repository.pullRequest.closingIssuesReferences.totalCount;
if (linkedIssues === 0) {
await addLabel('needs:issue');