From b2f4aa1e13eec4db67e428b870c3fb55f8d06c0b Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Fri, 18 Apr 2025 16:27:17 +0800 Subject: [PATCH] feat(GHA): Renovate auto rebase after PR automerge enabled --- .github/workflows/renovate-rebase.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/renovate-rebase.yaml b/.github/workflows/renovate-rebase.yaml index 6327c3a6..582dd752 100644 --- a/.github/workflows/renovate-rebase.yaml +++ b/.github/workflows/renovate-rebase.yaml @@ -65,7 +65,7 @@ jobs: GITHUB_TOKEN: "${{ steps.oauth-token.outputs.token }}" DESTINATION_BRANCH: "${{ github.event.pull_request.head.ref }}" run: | - # shopt -s nullglob + shopt -s nullglob git log -n 1 export TODAY=$( date -u '+%Y-%m-%d_%H-%M-%S' ) export MESSAGE="chore: update ${{ github.event.pull_request.head.ref }} $TODAY" @@ -82,5 +82,5 @@ jobs: --field content=@<( base64 -i $FILE_TO_COMMIT ) \ --field encoding="base64" \ --field branch="$DESTINATION_BRANCH" \ - --field sha="$SHA" \ + --field sha="$SHA" done