Skip to content

Commit 381b91e

Browse files
committed
fixup! feat(ng-dev): automatically close linked issues for non-main branches
1 parent 891375f commit 381b91e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ng-dev/pr/merge/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ts_project(
2121
"//ng-dev:__subpackages__",
2222
],
2323
deps = [
24+
"//ng-dev:node_modules/@octokit/graphql-schema",
2425
"//ng-dev:node_modules/@octokit/plugin-rest-endpoint-methods",
2526
"//ng-dev:node_modules/@octokit/rest",
2627
"//ng-dev:node_modules/@types/node",

ng-dev/pr/merge/pull-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9+
import {IssueState} from '@octokit/graphql-schema';
910
import {
1011
getTargetBranchesAndLabelForPullRequest,
1112
PullRequestTarget,
@@ -21,7 +22,6 @@ import {AuthenticatedGitClient} from '../../utils/git/authenticated-git-client.j
2122
import {GithubConfig, NgDevConfig} from '../../utils/config.js';
2223
import {PullRequestConfig, PullRequestValidationConfig} from '../config/index.js';
2324
import {targetLabels} from '../common/labels/target.js';
24-
import {IssueState} from '@octokit/graphql-schema';
2525

2626
/** Interface describing a pull request's closing issue references. */
2727
export interface PullRequestClosingIssuesReferences {

0 commit comments

Comments
 (0)