Skip to content

Commit

Permalink
ci: Fixed condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Josephasafg committed Jun 19, 2024
1 parent a66e8d0 commit 9cc0894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
git fetch origin $base_branch
diff_output=$(git diff --shortstat origin/$base_branch...$head_branch)
echo $diff_output
insertions=$(echo $diff_output | awk '{print $4 || echo 0}')
insertions=$(echo $diff_output | awk '{print $4}' || echo 0)
insertions1=$(echo $diff_output | awk '{print $4}')
echo $insertions
echo $insertions1
deletions=$(echo $diff_output | awk '{print $6 || echo 0}')
deletions=$(echo $diff_output | awk '{print $6}' || echo 0)
deletions=$(echo $diff_output | awk '{print $6}')
echo $deletions
echo $deletions1
Expand Down

0 comments on commit 9cc0894

Please sign in to comment.