Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Jan 15, 2024
1 parent 3112326 commit 0c2e20f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9928,13 +9928,17 @@ async function getPRStatus(owner, repo, number) {
if (!isSkip) {
ifCICompleted = false;
}
core.info(`[checkPRstatus] [number: ${number}] [inPorgress: ${it.name}]${isSkip ? ' 🛎 SKIP' : ''}`);
core.info(
`[checkPRstatus] [number: ${number}] [inPorgress: ${it.name}]${isSkip ? ' 🛎 SKIP' : ''}`,
);
}
if (it.conclusion === 'failure') {
if (!isSkip) {
ifCIHasFailure = true;
}
core.info(`[checkPRstatus] [number: ${number}] [hasFailure: ${it.name}]${isSkip ? ' 🛎 SKIP' : ''}`);
core.info(
`[checkPRstatus] [number: ${number}] [hasFailure: ${it.name}]${isSkip ? ' 🛎 SKIP' : ''}`,
);
}
});

Expand Down
8 changes: 6 additions & 2 deletions src/octokit.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,17 @@ async function getPRStatus(owner, repo, number) {
if (!isSkip) {
ifCICompleted = false;
}
core.info(`[checkPRstatus] [number: ${number}] [inPorgress: ${it.name}]${isSkip ? ' 🛎 SKIP' : ''}`);
core.info(
`[checkPRstatus] [number: ${number}] [inPorgress: ${it.name}]${isSkip ? ' 🛎 SKIP' : ''}`,
);
}
if (it.conclusion === 'failure') {
if (!isSkip) {
ifCIHasFailure = true;
}
core.info(`[checkPRstatus] [number: ${number}] [hasFailure: ${it.name}]${isSkip ? ' 🛎 SKIP' : ''}`);
core.info(
`[checkPRstatus] [number: ${number}] [hasFailure: ${it.name}]${isSkip ? ' 🛎 SKIP' : ''}`,
);
}
});

Expand Down

0 comments on commit 0c2e20f

Please sign in to comment.