mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
ci: fix failing pipeline
This commit is contained in:
4
.github/workflows/pr-standards.yml
vendored
4
.github/workflows/pr-standards.yml
vendored
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user