mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2024-11-26 22:19:03 +00:00
print event path
This commit is contained in:
parent
97bdebd585
commit
29cd406230
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -202,6 +202,8 @@ function main() {
|
||||
let diff;
|
||||
console.log("Running the action...");
|
||||
console.log("Event name:", process.env.GITHUB_EVENT_NAME);
|
||||
console.log("PR event path:");
|
||||
console.log(process.env.GITHUB_EVENT_PATH);
|
||||
if (process.env.GITHUB_EVENT_NAME === "pull_request") {
|
||||
console.log("Pull request event");
|
||||
diff = yield getDiff(prDetails.owner, prDetails.repo, prDetails.pull_number);
|
||||
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -198,6 +198,8 @@ async function main() {
|
||||
let diff: string | null;
|
||||
console.log("Running the action...");
|
||||
console.log("Event name:", process.env.GITHUB_EVENT_NAME);
|
||||
console.log("PR event path:");
|
||||
console.log(process.env.GITHUB_EVENT_PATH);
|
||||
if (process.env.GITHUB_EVENT_NAME === "pull_request") {
|
||||
console.log("Pull request event");
|
||||
diff = await getDiff(
|
||||
|
Loading…
Reference in New Issue
Block a user