Skip to content

Commit

Permalink
fix(approve-please): fix ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuVeber committed Jun 14, 2024
1 parent c41b383 commit c5f4773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/approve-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
for url in ${urls//,/ }
do
echo "> $url"
${{ inputs.approval && 'gh pr review --approve --body "$body" $url' }}
${{ inputs.approval && 'gh pr review --approve --body "$body" $url' || '' }}
done
env:
GH_TOKEN: ${{ inputs.assignee == 'hedia-bot' && secrets.HEDIA_BOT_LIMITED_GITHUB_PAT || secrets.HEDIA_BOT_GITHUB_PAT }}

0 comments on commit c5f4773

Please sign in to comment.