Skip to content

Commit

Permalink
Build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn committed Jan 31, 2024
1 parent 1e3c4fd commit 12ee09d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions actions/commit-status/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ inputs:
description: "Job id"
mergeable:
description: "Whether the PR is mergeable"
commit_status:
description: "Whether to create a commit status"
default: "true"
runs:
using: "node20"
main: "dist/index.js"
4 changes: 4 additions & 0 deletions actions/commit-status/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85293,6 +85293,10 @@ async function run() {
const type = coreExports.getInput("type");
const job_id = coreExports.getInput("job_id");
const mergeable = coreExports.getInput("mergeable");
const commit_status = coreExports.getInput("commit_status");
if (commit_status === "false") {
return;
}
console.log({
token,
pr,
Expand Down

0 comments on commit 12ee09d

Please sign in to comment.