Skip to content

Commit 1330596

Browse files
committed
ci: tweak pr standards workflow
1 parent a618fbe commit 1330596

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-standards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
query($owner: String!, $repo: String!, $number: Int!) {
106106
repository(owner: $owner, name: $repo) {
107107
pullRequest(number: $number) {
108-
closingIssuesReferences(first: 1) {
108+
issuesReferences(first: 1) {
109109
totalCount
110110
}
111111
}
@@ -119,7 +119,7 @@ jobs:
119119
number: pr.number
120120
});
121121
122-
const linkedIssues = result.repository.pullRequest.closingIssuesReferences.totalCount;
122+
const linkedIssues = result.repository.pullRequest.issuesReferences.totalCount;
123123
124124
if (linkedIssues === 0) {
125125
await addLabel('needs:issue');

0 commit comments

Comments
 (0)