mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
15 lines
258 B
HCL
15 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"]
|
|
}
|