Skip to content

Commit

Permalink
fix double bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderDake committed Aug 24, 2023
1 parent 4324a53 commit 2151fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/daily-dev-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
for EXISTING_BRANCH in $EXISTING_BRANCHES; do
PR_IS_CLOSED=$(gh pr view --json closed --jq '.closed' "$EXISTING_BRANCH")
PR_AUTHOR=$(gh pr view --json author --jq '.author.login' "$EXISTING_BRANCH")
if [ "$PR_IS_CLOSED" == "true" && "$PR_AUTHOR" == "DartDevtoolWorkflowBot" ] ; then
if [[ "$PR_IS_CLOSED" == "true" && "$PR_AUTHOR" == "DartDevtoolWorkflowBotZ" ]]; then
# If the branch exists and the PR is closed we will delete it
echo "Deleting $EXISTING_BRANCH"
gh api /repos/flutter/devtools/git/refs/heads/$EXISTING_BRANCH -X DELETE
Expand Down

0 comments on commit 2151fb7

Please sign in to comment.