diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2019-04-25 09:13:12 +0530 |
---|---|---|
committer | Harsh Shandilya <msfjarvis@gmail.com> | 2019-04-25 09:13:12 +0530 |
commit | 655b3a11f4eb448bf68a49d1f8051e0c0d100ef4 (patch) | |
tree | 7c62cca0a9db8e958c4d0875f774a7d7227b1a9b | |
parent | e54010906f3cfc91ed41a044d44da548a60c9b0f (diff) |
Add github action to automatically delete merged branches
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
-rw-r--r-- | .github/main.workflow | 9 |
1 files changed, 9 insertions, 0 deletions
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"] +} |