Skip to content

Commit

Permalink
build(release): compiled action for 1.10.0
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
semantic-release-bot committed Oct 2, 2024
1 parent 710ecfa commit 488876a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34351,6 +34351,7 @@ async function main() {
team_reviewers: core.getInput("team_reviewers"),
autoMerge: core.getInput("auto-merge"),
updatePRTitleAndBody: core.getInput("update-pull-request-title-and-body"),
draft: core.getInput("draft"),
};

core.debug(`Inputs: ${inspect(inputs)}`);
Expand Down Expand Up @@ -34480,6 +34481,7 @@ async function main() {
body: inputs.body,
head: inputs.branch,
base: DEFAULT_BRANCH,
draft: inputs.draft === "true",
});

core.info(`Pull request created: ${html_url} (#${number})`);
Expand Down Expand Up @@ -34518,7 +34520,7 @@ async function main() {
core.info(`Assignees added: ${assignees.join(", ")}`);
core.debug(inspect(data));
}

if (inputs.reviewers || inputs.team_reviewers) {
let params = {
owner,
Expand All @@ -34528,8 +34530,8 @@ async function main() {
let reviewers = null;
let team_reviewers = null;

if(inputs.reviewers) {
core.debug(`Adding reviewers: ${inputs.reviewers}`)
if(inputs.reviewers) {
core.debug(`Adding reviewers: ${inputs.reviewers}`)
reviewers = (inputs.reviewers || "").trim().split(/\s*,\s*/);

params = {
Expand All @@ -34539,7 +34541,7 @@ async function main() {
};

if(inputs.team_reviewers) {
core.debug(`Adding team reviewers: ${inputs.team_reviewers}`)
core.debug(`Adding team reviewers: ${inputs.team_reviewers}`)
team_reviewers = (inputs.team_reviewers || "").trim().split(/\s*,\s*/);

params = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-or-update-pull-request-action",
"private": true,
"version": "1.9.4",
"version": "1.10.0",
"description": "A GitHub Action to create or update a pull request based on local changes",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 488876a

Please sign in to comment.