From e4436f585c6bf59b5f9625eb71aeea513a944af5 Mon Sep 17 00:00:00 2001 From: Gustav Eikaas Date: Thu, 21 Dec 2023 10:36:42 +0100 Subject: [PATCH] ci: --- .github/helpers/src/issue-checker.ts | 2 +- .github/workflows/pr-issue-check.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/helpers/src/issue-checker.ts b/.github/helpers/src/issue-checker.ts index 070020eca..095b84225 100644 --- a/.github/helpers/src/issue-checker.ts +++ b/.github/helpers/src/issue-checker.ts @@ -52,7 +52,7 @@ async function checkIssues(client: Octo, pr: number) { id number title - timelineItems(first: 100, itemTypes: [CONNECTED_EVENT]) { + timelineItems(first: 100, itemTypes: [CONNECTED_EVENT, CROSS_REFERENCED_EVENT]) { __typename ... on PullRequestTimelineItemsConnection{ totalCount diff --git a/.github/workflows/pr-issue-check.yml b/.github/workflows/pr-issue-check.yml index 6c94bded7..92adea3f2 100644 --- a/.github/workflows/pr-issue-check.yml +++ b/.github/workflows/pr-issue-check.yml @@ -18,7 +18,7 @@ permissions: statuses: read, } on: - workflow_dispatch: + pull_request: jobs: issue-check: