From f5c6bbaad3454cbed522ff2570adc4962b20d786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Mike=C5=A1?= Date: Sat, 4 Apr 2020 00:13:24 +0200 Subject: [PATCH 1/2] Fixup commits postfix has same commit msg --- .github/workflows/rector_ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rector_ci.yaml b/.github/workflows/rector_ci.yaml index 0831de9a1450..190eab95e6e2 100644 --- a/.github/workflows/rector_ci.yaml +++ b/.github/workflows/rector_ci.yaml @@ -50,10 +50,11 @@ jobs: run: | git config --global user.name 'rector-bot' git config --global user.email 'tomas@getrector.org' + echo ::set-env name=COMMIT_MESSAGE::$(git log -1 --pretty=format:"%s") - name: Commit Rector changes if: steps.rector-git-check.outputs.modified == 'true' - run: git commit -am "fixup! [Rector CI] Fixed Rector issues" + run: git commit -am "fixup! ${COMMIT_MESSAGE}" ## Now, there might be coding standard issues after running Rector - @@ -68,7 +69,7 @@ jobs: - name: Commit CS changes if: steps.cs-git-check.outputs.modified == 'true' - run: git commit -am "fixup! [Rector CI] Fixed CS issues" + run: git commit -am "fixup! fixup! ${COMMIT_MESSAGE}" - name: Push changes From f45fd10c3b27b56667aa78bbc8a49c396f189e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Mike=C5=A1?= Date: Sat, 4 Apr 2020 00:17:13 +0200 Subject: [PATCH 2/2] Dogfood