Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranav-yadav committed May 26, 2023
1 parent f2adeba commit 3bb1c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/needs-attention.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function run() {

if (isMarked && issue.user.login === comment.user.login) {
if (perform) {
console.log(`${owner}/${repo}#${issue_number} needs attention`);
console.log(`[Actions:needs-attention]: ${owner}/${repo}#${issue_number} needs attention`);
await octokit.issues.removeLabel({
owner,
repo,
Expand All @@ -44,7 +44,7 @@ async function run() {
);
} else {
console.log(
`${owner}/${repo}#${issue_number} would have been flagged as needing attention (dry-run)`,
`[Actions:needs-attention]: ${owner}/${repo}#${issue_number} would have been flagged as needing attention (dry-run)`,
);
core.setOutput('result', 'dry-run');
}
Expand Down

0 comments on commit 3bb1c3a

Please sign in to comment.