mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 16:28:52 +00:00
pr-check: Don't relabel as awaiting-review if awaiting-upstream is applied
This commit is contained in:
@@ -298,14 +298,14 @@ jobs:
|
||||
gh pr edit "$PR_NUM" \
|
||||
--add-label "awaiting-changes" \
|
||||
--remove-label "awaiting-review" >/dev/null 2>&1 || true
|
||||
elif label_exists_any "awaiting-changes" && [ "$PR_THREAD_COUNT" -eq 0 ]; then
|
||||
elif label_exists_any "awaiting-changes" && ! label_exists_any "awaiting-upstream" && [ "$PR_THREAD_COUNT" -eq 0 ]; then
|
||||
echo "No review comments, ensuring awaiting-review label"
|
||||
gh pr edit "$PR_NUM" \
|
||||
--add-label "awaiting-review" \
|
||||
--remove-label "awaiting-changes" >/dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
echo "===================================== Finished checking PR ======================================"
|
||||
echo "====================================== Finished checking PR ======================================="
|
||||
done
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user