This commit is contained in:
github-actions[bot] 2024-12-03 18:39:38 +00:00
parent 5261a1223f
commit 44e03577b2
117 changed files with 1008 additions and 458 deletions

View file

@ -50,9 +50,8 @@ test("validate correct payload used for push, PR merge commit, and PR head", asy
process.env["GITHUB_EVENT_NAME"] = "pull_request";
process.env["GITHUB_SHA"] = "commit";
process.env["GITHUB_BASE_REF"] = "master";
process.env[
"GITHUB_EVENT_PATH"
] = `${__dirname}/../src/testdata/pull_request.json`;
process.env["GITHUB_EVENT_PATH"] =
`${__dirname}/../src/testdata/pull_request.json`;
const prMergePayload: any = uploadLib.buildPayload(
"commit",
"refs/pull/123/merge",