Skip to content

Commit

Permalink
fix cases where the PR is closed and branch deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
lldelisle committed Sep 26, 2024
1 parent b8828fc commit 3085c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
fi
fi
echo "There are changes"
if [ "$PR_EXISTS" -eq 1 ]; then
if [ "$DIFF_BRANCH" = "origin/$REPO" ] ; then
# Check if the last commit of the existing branch was manual
LAST_AUTHOR=$(git log -1 --pretty=format:'%an' $DIFF_BRANCH)
if [ "$LAST_AUTHOR" != "planemo-autoupdate" ]; then
Expand Down

0 comments on commit 3085c45

Please sign in to comment.