From 42c514317a12e3662a17ab5260e2939557f315aa Mon Sep 17 00:00:00 2001 From: Dmitriy Safronov <zimniy@cyberbrain.pw> Date: Mon, 4 Mar 2024 18:48:24 +0300 Subject: [PATCH] Rebase on push to main branch --- .../rebase-on-push-to-main-branch.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/rebase-on-push-to-main-branch.yaml diff --git a/.github/workflows/rebase-on-push-to-main-branch.yaml b/.github/workflows/rebase-on-push-to-main-branch.yaml new file mode 100644 index 0000000..38ced83 --- /dev/null +++ b/.github/workflows/rebase-on-push-to-main-branch.yaml @@ -0,0 +1,17 @@ +--- +name: Rebase on push to main branch +"on": + push: + branches: [main] +jobs: + rebase: + name: Rebase on push to main branch + runs-on: ubuntu-latest + steps: + - name: Rebase all pull requests on push to the main branch + uses: peter-evans/rebase@v3 + with: + base: main + exclude-drafts: true + exclude-labels: | + no-rebase -- GitLab