Skip to content

Commit

Permalink
it doesn't need anymore as GitHub provides it has native feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bala-raj committed Mar 22, 2024
1 parent 609666c commit b129684
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,3 @@ jobs:
${{ steps.fetchComment.outputs.comment-body }}
draft: false
prerelease: false # This is not a prerelease so set false

# Delete head branch after merging the code
- if: (github.event_name == 'pull_request' && github.event.pull_request.merged == true && steps.isPublished.outputs.published == 'false' )
name: Delete merged branch
uses: koj-co/delete-merged-action@master
with:
branches: "!dev, !main, !master" # If we make PR from dev || master || main to any other branch, we should not delete these branches
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b129684

Please sign in to comment.