Skip to content

Commit

Permalink
chore: git action
Browse files Browse the repository at this point in the history
  • Loading branch information
devmanta committed Aug 24, 2024
1 parent 8236985 commit ed0f613
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/delete-merged-branch-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
delete-branch:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Check if branch exists
id: check_branch
run: |
Expand All @@ -17,7 +20,8 @@ jobs:
echo "branch_exists=false" >> $GITHUB_ENV
fi
- name: delete branch
- name: Delete branch
if: env.branch_exists == 'true'
uses: SvanBoxel/delete-merged-branch@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ed0f613

Please sign in to comment.