diff --git a/.github/workflows/delete_branch_on_close_PR.yml b/.github/workflows/delete_branch_on_close_PR.yml new file mode 100644 index 0000000..53ca9a5 --- /dev/null +++ b/.github/workflows/delete_branch_on_close_PR.yml @@ -0,0 +1,14 @@ +name: delete branch on close pr +on: + pull_request: + types: [closed] + +jobs: + delete-branch: + runs-on: ubuntu-latest + steps: + - name: delete branch + uses: SvanBoxel/delete-merged-branch@main + env: + exclude: develop + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}