Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/local-actions/labels-sync/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ ts_project(
"//.github/local-actions/labels-sync:node_modules/@actions/core",
"//.github/local-actions/labels-sync:node_modules/@actions/github",
"//.github/local-actions/labels-sync:node_modules/@octokit/rest",
"//.github/local-actions/labels-sync:node_modules/@octokit/types",
"//.github/local-actions/labels-sync:node_modules/@types/node",
"//github-actions:utils",
"//ng-dev/pr/common/labels",
Expand Down
1 change: 0 additions & 1 deletion .github/local-actions/labels-sync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"@actions/core": "3.0.1",
"@actions/github": "9.1.1",
"@octokit/rest": "22.0.1",
"@octokit/types": "17.0.0",
"@types/node": "24.19.1"
}
}
1 change: 0 additions & 1 deletion .github/local-actions/lock-closed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"@actions/core": "3.0.1",
"@actions/github": "9.1.1",
"@octokit/rest": "22.0.1",
"@octokit/types": "17.0.0",
"@types/node": "24.19.1"
}
}
4 changes: 1 addition & 3 deletions github-actions/labeling/issue/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ ts_project(
"//github-actions/labeling:node_modules/@actions/core",
"//github-actions/labeling:node_modules/@actions/github",
"//github-actions/labeling:node_modules/@google/genai",
"//github-actions/labeling:node_modules/@octokit/openapi-types",
"//github-actions/labeling:node_modules/@octokit/rest",
"//github-actions/labeling:node_modules/@types/node",
"//github-actions/labeling/shared",
Expand All @@ -33,7 +32,6 @@ ts_project(
"//github-actions/labeling:node_modules/@actions/core",
"//github-actions/labeling:node_modules/@actions/github",
"//github-actions/labeling:node_modules/@google/genai",
"//github-actions/labeling:node_modules/@octokit/openapi-types",
"//github-actions/labeling:node_modules/@octokit/rest",
"//github-actions/labeling:node_modules/@types/jasmine",
"//github-actions/labeling:node_modules/@types/node",
Expand All @@ -48,7 +46,7 @@ jasmine_test(
],
env = {
"GITHUB_REPOSITORY": "angular/angular",
"GITHUB_EVENT_PATH": "$(location :issue-context.json)",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$(location) is deprecated.

"GITHUB_EVENT_PATH": "$(rootpath :issue-context.json)",
},
)

Expand Down
1 change: 0 additions & 1 deletion github-actions/labeling/issue/lib/issue-labeling.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {Octokit} from '@octokit/rest';
import * as core from '@actions/core';
import {context} from '@actions/github';
import {
IssueLabeling as _IssueLabeling,
Expand Down
4 changes: 2 additions & 2 deletions github-actions/labeling/issue/lib/issue-labeling.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as core from '@actions/core';
import {context} from '@actions/github';
import {GoogleGenAI} from '@google/genai';
import {components} from '@octokit/openapi-types';
import type {RestEndpointMethodTypes} from '@octokit/rest';
import {Labeling} from '../../shared/labeling.js';

export const NEEDS_TRIAGE_MILESTONE = 'needsTriage';
Expand All @@ -12,7 +12,7 @@ export class IssueLabeling extends Labeling {
/** Set of area labels available in the current repository. */
repoAreaLabels = new Map<string, string>();
/** The issue data fetched from Github. */
issueData?: components['schemas']['issue'];
issueData?: RestEndpointMethodTypes['issues']['get']['response']['data'];
/** Labels added during this run. */
private addedLabels: string[] = [];

Expand Down
1 change: 0 additions & 1 deletion github-actions/labeling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"@types/node": "24.19.1",
"micromatch": "^4.0.8",
"typed-graphqlify": "3.1.6",
"@octokit/openapi-types": "28.0.0",
"jasmine": "6.3.0"
}
}
2 changes: 1 addition & 1 deletion github-actions/org-file-sync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@actions/core": "3.0.1",
"@actions/github": "9.1.1",
"@octokit/rest": "22.0.1",
"@octokit/types": "17.0.0",
"@octokit/types": "18.0.0",
"@types/node": "24.19.1",
"typed-graphqlify": "3.1.6"
}
Expand Down
4 changes: 1 addition & 3 deletions ng-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@
"@octokit/core": "7.0.8",
"@octokit/graphql-schema": "15.26.1",
"@octokit/graphql": "9.0.5",
"@octokit/openapi-types": "28.0.0",
"@octokit/plugin-paginate-rest": "15.0.0",
"@octokit/plugin-rest-endpoint-methods": "18.0.0",
"@octokit/request-error": "7.1.2",
"@octokit/rest": "22.0.1",
"@octokit/types": "17.0.0",
"@octokit/types": "18.0.0",
"@types/cli-progress": "3.11.6",
"@types/ejs": "3.1.5",
"@types/events": "3.0.3",
Expand Down
2 changes: 0 additions & 2 deletions ng-dev/utils/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ ts_project(
"//ng-dev:node_modules/@octokit/auth-app",
"//ng-dev:node_modules/@octokit/core",
"//ng-dev:node_modules/@octokit/graphql",
"//ng-dev:node_modules/@octokit/openapi-types",
Comment thread
alan-agius4 marked this conversation as resolved.
"//ng-dev:node_modules/@octokit/plugin-paginate-rest",
"//ng-dev:node_modules/@octokit/plugin-rest-endpoint-methods",
"//ng-dev:node_modules/@octokit/request-error",
"//ng-dev:node_modules/@octokit/rest",
Expand Down
4 changes: 2 additions & 2 deletions ng-dev/utils/git/octokit-types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {components} from '@octokit/openapi-types';
import type {RestEndpointMethodTypes} from '@octokit/rest';

type DeepPartial<T> = T extends object
? {
[P in keyof T]?: DeepPartial<T[P]>;
}
: T;

export type Commit = components['schemas']['commit'];
export type Commit = RestEndpointMethodTypes['repos']['getCommit']['response']['data'];

export type PartialCommit = DeepPartial<Commit>;
34 changes: 4 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading