From 655b3a11f4eb448bf68a49d1f8051e0c0d100ef4 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 25 Apr 2019 09:13:12 +0530 Subject: Add github action to automatically delete merged branches Signed-off-by: Harsh Shandilya --- .github/main.workflow | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 00000000..8def35fb --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,9 @@ +workflow "on pull request merge, delete the branch" { + on = "pull_request" + resolves = ["branch cleanup"] +} + +action "branch cleanup" { + uses = "jessfraz/branch-cleanup-action@master" + secrets = ["GITHUB_TOKEN"] +} -- cgit v1.2.3