Skip to content

Commit

Permalink
Remove branch only if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavberi committed Feb 23, 2024
1 parent dc58abe commit aed1576
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
commit_message: Apply Linting & Formatting Fixes

- name: Remove Linting Branch
run: git push origin --delete linting
run: |
if git rev-parse --verify linting >/dev/null 2>&1; then
git push origin --delete linting
fi

0 comments on commit aed1576

Please sign in to comment.