Skip to content
Merged
Changes from all commits
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
5 changes: 4 additions & 1 deletion src/develop_actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const run = async () => {
i === 0 ? "> " + e.message : commits + "\n\n" + "> " + e.message;
});

// fetch pr from branch_name to staging to check if it exists
// if pr exists, update
// if not create

const createpr = await octokit.request(
`POST /repos/${context.payload?.repository?.full_name}/pulls`,
{
Expand Down Expand Up @@ -56,7 +60,6 @@ const run = async () => {
console.log("FAILED: Send slack webhook", error);
});
} else {
// fetch pr from branch_name to staging
// update existing pr
console.log("pr exists");
axios
Expand Down