mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-25 17:06:52 +01:00
14 lines
258 B
HCL
14 lines
258 B
HCL
workflow "Autorebase branch on merge commits" {
|
|
on = "push"
|
|
resolves = ["rebase"]
|
|
}
|
|
|
|
workflow "Autorebase PR on merge commits" {
|
|
on = "pull_request"
|
|
resolves = ["rebase"]
|
|
}
|
|
|
|
action "rebase" {
|
|
uses = "ljharb/rebase@latest"
|
|
secrets = ["GITHUB_TOKEN"]
|
|
}
|