Skip to content

The open source coding agent.

TypeScript

ci: tweak pr standards workflow

Aiden Cline13305966e5ce
diff --git a/.github/workflows/pr-standards.yml b/.github/workflows/pr-standards.yml
index c1cf1756787..fb62e660ede 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) {
- closingIssuesReferences(first: 1) {
+ issuesReferences(first: 1) {
totalCount
}
}
@@ -119,7 +119,7 @@ jobs:
number: pr.number
});
- const linkedIssues = result.repository.pullRequest.closingIssuesReferences.totalCount;
+ const linkedIssues = result.repository.pullRequest.issuesReferences.totalCount;
if (linkedIssues === 0) {
await addLabel('needs:issue');