From 0f6a67c40583c0ed1e6e99f6b6baa97a79e2ce9d Mon Sep 17 00:00:00 2001 From: rimarala <29604142+rimarala@users.noreply.github.com> Date: Wed, 3 Nov 2021 18:00:19 +0100 Subject: [PATCH] Create delete_branch_on_close_PR.yml --- .github/workflows/delete_branch_on_close_PR.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/delete_branch_on_close_PR.yml 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 }}