From 33fb8f16e0ae91cc23b622b64b7a29c7e54d9fc8 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Mon, 26 May 2025 15:59:22 +0200 Subject: [PATCH] chore(actions): rebase only if not main 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"