From 0635a3381a93331f6bc587121fdba3df883edff1 Mon Sep 17 00:00:00 2001 From: "Mark E. Schill" Date: Sat, 12 Oct 2019 17:07:07 -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 000000000..bbc44e910 --- /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 dbd6eb157ce785a1a3aa07945d5e594353fc02e8 Mon Sep 17 00:00:00 2001 From: "Mark E. Schill" Date: Sun, 13 Oct 2019 10:23:15 -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