Skip to content

Commit a69c7d1

Browse files
committed
feat(github-actions): create a github action to run a code review on incoming PRs
1 parent 90e509f commit a69c7d1

20 files changed

Lines changed: 93581 additions & 27 deletions

File tree

.github/local-actions/branch-manager/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

.github/local-actions/labels-sync/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

.github/local-actions/lock-closed/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

github-actions/branch-manager/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

github-actions/feature-request/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

github-actions/labeling/issue/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

github-actions/labeling/pull-request/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

github-actions/org-file-sync/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

github-actions/post-approval-changes/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
load("@devinfra_npm//:defs.bzl", "npm_link_all_packages")
2+
load("//tools:defaults.bzl", "esbuild_checked_in", "ts_project")
3+
4+
package(default_visibility = ["//github-actions/review-bot:__subpackages__"])
5+
6+
npm_link_all_packages()
7+
8+
ts_project(
9+
name = "lib",
10+
srcs = glob(["lib/**/*.ts"]),
11+
tsconfig = "//github-actions:tsconfig",
12+
deps = [
13+
":node_modules/@actions/core",
14+
":node_modules/@actions/github",
15+
":node_modules/@google/genai",
16+
":node_modules/@octokit/rest",
17+
":node_modules/@octokit/types",
18+
":node_modules/@types/node",
19+
"//github-actions:utils",
20+
],
21+
)
22+
23+
esbuild_checked_in(
24+
name = "main",
25+
srcs = [
26+
":lib",
27+
],
28+
entry_point = "lib/main.ts",
29+
format = "esm",
30+
platform = "node",
31+
target = "node22",
32+
)

0 commit comments

Comments
 (0)