Skip to content

Commit

Permalink
Merge branch 'main' into test-vcs
Browse files Browse the repository at this point in the history
  • Loading branch information
tianzhou committed Apr 1, 2024
2 parents 5679532 + 1a27850 commit 5261d15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/upsert-issue/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ function collectChanges(githubToken, database, pattern) {
});
}
function createPlan(changes, title, description) {
var _a;
return __awaiter(this, void 0, void 0, function* () {
try {
// Initialize an empty array for the specs
Expand Down Expand Up @@ -176,6 +177,10 @@ function createPlan(changes, title, description) {
],
title,
description,
vcs_source: {
vcs_type: "GITHUB",
pull_request_url: (_a = github.context.payload.pull_request) === null || _a === void 0 ? void 0 : _a.html_url
}
};
core.debug("Creating plan with request body: " + JSON.stringify(requestBody, null, 2));
const response = yield fetch(`${projectUrl}/plans`, {
Expand Down

0 comments on commit 5261d15

Please sign in to comment.