Add github action to automatically delete merged branches
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
e54010906f
commit
655b3a11f4
1 changed files with 9 additions and 0 deletions
9
.github/main.workflow
vendored
Normal file
9
.github/main.workflow
vendored
Normal 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"]
|
||||
}
|
Loading…
Reference in a new issue