diff --git a/.github/main.workflow b/.github/main.workflow index 2237aa8c5..dbcd7e4c3 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -1,9 +1,14 @@ -workflow "Autorebase on merge commits" { +workflow "Autorebase PR on merge commits" { + on = "pull_request" + resolves = "rebase" +} + +workflow "Autorebase branch on merge commits" { on = "push" - resolves = ["docker://ljharb/rebase:latest"] + resolves = "rebase" } -action "docker://ljharb/rebase:latest" { - uses = "docker://ljharb/rebase:latest" +action "rebase" { + uses = "ljharb/rebase:master" secrets = ["GITHUB_TOKEN"] }