From 78fc8701c07bbdffa79bfd54aefe1d2fc223d923 Mon Sep 17 00:00:00 2001 From: "Mark E. Schill" Date: Sat, 12 Oct 2019 17:08:55 -0400 Subject: [PATCH] Creates Branch Cleanup Worflow --- .github/branchcleanup.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/branchcleanup.yml diff --git a/.github/branchcleanup.yml b/.github/branchcleanup.yml new file mode 100644 index 0000000..bbc44e9 --- /dev/null +++ b/.github/branchcleanup.yml @@ -0,0 +1,17 @@ +--- +name: Branch Cleanup +# This workflow is triggered on all closed pull requests. +# However the script does not do anything it a merge was not performed. +on: + pull_request: + types: [closed] + +env: + NO_BRANCH_DELETED_EXIT_CODE: 0 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: jessfraz/branch-cleanup-action@master