Skip to content

Commit 0b162bc

Browse files
author
gdgate
authored
Merge pull request #456 from hkad98/trivial
TRIVIAL: delete branch in the origin Reviewed-by: https://github.com/Mara3l
2 parents 3de240d + 7ccbab0 commit 0b162bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/merge/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ runs:
7272
if: ${{ inputs.merge == 'true' && inputs.delete_branch == 'true' }}
7373
run: |
7474
if git show-ref --verify --quiet refs/heads/${{ steps.push.outputs.branch }}; then
75-
git branch -d ${{ steps.push.outputs.branch }}
75+
git push origin -d ${{ steps.push.outputs.branch }}
7676
else
7777
echo "Nothing to delete. Branch ${{ steps.push.outputs.branch }} does not exist."
7878
fi

0 commit comments

Comments
 (0)