mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 17:28:57 +00:00
pr-check: Change else to elif
This commit is contained in:
@@ -85,7 +85,7 @@ jobs:
|
||||
if [ "$BLOCKED" -eq 0 ] && [ "$has_label" != "true" ]; then
|
||||
echo "Marking as awaiting-review"
|
||||
gh pr edit "$PR_NUM" --add-label "awaiting-review" --remove-label "blocked" || true
|
||||
else
|
||||
elif [ "$BLOCKED" -eq 1 ]; then
|
||||
echo "Marking as blocked"
|
||||
gh pr edit "$PR_NUM" --add-label "blocked" --remove-label "awaiting-review"
|
||||
if ! comment_exists; then
|
||||
@@ -94,6 +94,8 @@ jobs:
|
||||
else
|
||||
echo "Found comment, skipping commenting"
|
||||
fi
|
||||
else
|
||||
echo "Nothing to do"
|
||||
fi
|
||||
done
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user