Skip to content

Commit

Permalink
fix: label emptiness check for PRs cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-aude committed Jan 25, 2024
1 parent 9491363 commit 358d14e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sync_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ echo "::group::cleanup older PRs"
if [ "$IS_DRY_RUN" != "true" ]; then
if [ "$IS_PR_CLEANUP" != "false" ]; then
if [[ -z "${PR_LABELS}" ]]; then
warn "env var 'PR_LABELS' is empty. Skipping older prs cleanup"
else
cmd_from_yml_file "precleanup"
cleanup_older_prs
else
warn "env var 'PR_LABELS' is empty. Skipping older prs cleanup"
fi
else
warn "is_pr_cleanup option is set to off. Skipping older prs cleanup"
Expand Down

0 comments on commit 358d14e

Please sign in to comment.