Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov authored Mar 1, 2025
1 parent 3d723e5 commit e019d22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ async function run(): Promise<void> {
const alwaysCommentInput = core.getInput('always-comment')
if (alwaysCommentInput.toLowerCase() !== 'true' || alwaysCommentInput.toLowerCase() !== 'false') {
error(`"always-comment" can contain "true" or "false", given "${alwaysCommentInput}"`)
}
// Convert always-comment input to boolean value.
const alwaysComment = alwaysCommentInput.toLowerCase() === 'true'
const ghToken = core.getInput('github-token')
Expand Down

0 comments on commit e019d22

Please sign in to comment.