From 5a9a8e588a4d36b2b834694464492dc963177641 Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Mon, 26 May 2025 16:04:50 +0200 Subject: [PATCH] chore(actions): rebase only if not main (#3435) Signed-off-by: rjshrjndrn --- .github/workflows/patch-build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/patch-build.yaml b/.github/workflows/patch-build.yaml index 59d5780d6..844ab905f 100644 --- a/.github/workflows/patch-build.yaml +++ b/.github/workflows/patch-build.yaml @@ -24,6 +24,7 @@ jobs: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - name: Rebase with main branch, to make sure the code has latest main changes + if: github.ref != 'refs/heads/main' run: | git remote -v git config --global user.email "action@github.com"