Add github action to automatically delete merged branches

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-04-25 09:13:12 +05:30
parent e54010906f
commit 655b3a11f4
No known key found for this signature in database
GPG key ID: C2E74282C2133D62

9
.github/main.workflow vendored Normal file
View file

@ -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"]
}