From 693f06e92a0361c05890e021ff5c87359f453c7d Mon Sep 17 00:00:00 2001 From: "Mark E. Schill" Date: Sat, 12 Oct 2019 17:07:51 -0400 Subject: [PATCH 1/2] 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 From 734ec5fd99f035f35ec88f961c8114f1a04eb1be Mon Sep 17 00:00:00 2001 From: "Mark E. Schill" Date: Sun, 13 Oct 2019 10:23:45 -0400 Subject: [PATCH 2/2] Fixes Branch Cleanup Worflow [ci skip] --- .github/{ => workflows}/branchcleanup.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => workflows}/branchcleanup.yml (100%) diff --git a/.github/branchcleanup.yml b/.github/workflows/branchcleanup.yml similarity index 100% rename from .github/branchcleanup.yml rename to .github/workflows/branchcleanup.yml