Skip to content

Commit

Permalink
Clean OLD_TITLE and PR_NUMBER from previous repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Oct 30, 2023
1 parent 1c4cb47 commit 1ea97c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ jobs:
echo "PR exists, we will checkout the branch and add to it"
git checkout --track "origin/$REPO"
else
OLD_TITLE=
PR_NUMBER=
if [ "$(git branch -a --list "origin/$REPO")" != "" ]; then
echo "Branch exists without an open PR - deleting"
git push origin --delete "$REPO"
Expand Down

0 comments on commit 1ea97c9

Please sign in to comment.