Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
add TODO
  • Loading branch information
mikeharder committed Jul 31, 2025
commit 15ee5a305e85f91ea9e03b0448659a01372b6b4b
2 changes: 2 additions & 0 deletions .github/workflows/src/summarize-checks/summarize-checks.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// @ts-check

/*
Expand Down Expand Up @@ -292,6 +292,8 @@
return;
}

// TODO: This is triggered by pull_request_target AND workflow_run. If workflow_run, targetBranch will be undefined.
// Is this OK? If not, we should be able to get the base ref by calling a GH API to fetch the PR metadata.
const targetBranch = context.payload.pull_request?.base?.ref;
core.info(`PR target branch: ${targetBranch}`);

Expand Down
Loading