From a9b2dbd380250b09e4674a337c23f486ac923677 Mon Sep 17 00:00:00 2001
From: Dmitriy Safronov <zimniy@cyberbrain.pw>
Date: Thu, 20 Feb 2025 15:17:49 +0400
Subject: [PATCH] ci: rebase dependabot prs

Signed-off-by: Dmitriy Safronov <zimniy@cyberbrain.pw>
---
 .github/workflows/push-rebase.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/push-rebase.yaml b/.github/workflows/push-rebase.yaml
index 224d4fa..d86bb96 100644
--- a/.github/workflows/push-rebase.yaml
+++ b/.github/workflows/push-rebase.yaml
@@ -11,7 +11,7 @@ jobs:
     name: Push [rebase]
     runs-on: ubuntu-latest
     steps:
-      - name: Rebase all pull requests on push to the main branch
+      - name: "Rebase all users' pull requests on push to the main branch"
         uses: peter-evans/rebase@v3.1.0
         with:
           base: main
@@ -20,3 +20,8 @@ jobs:
             no-rebase
             dependencies
         if: "${{ startsWith(github.event.head_commit.message, 'docs: update changelog for ') }}"
+      - name: "Rebase all Dependabot's pull requests on push to the main branch"
+        uses: bbeesley/gha-auto-dependabot-rebase@v1.5.92
+        env:
+          GITHUB_TOKEN: ${{ secrets.PAT }}
+        if: "${{ startsWith(github.event.head_commit.message, 'docs: update changelog for ') }}"
-- 
GitLab