From 62fdfe7f0b82c868ee08464431bb767fbc8901bd Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Sat, 26 Aug 2023 12:27:41 +0200 Subject: [PATCH] gci: Do not try to rebase if we're on master already Changelog-None --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5114a065b..d043d1fe4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,6 +33,8 @@ jobs: fetch-depth: 0 - name: Rebase + # We can't rebase if we're on master already. + if: github.ref == 'refs/heads/master' run: | git config user.name github-actions git config user.email github-actions@github.com