feat(GHA): Renovate auto rebase after PR automerge enabled

This commit is contained in:
JJGadgets
2025-04-18 16:27:17 +08:00
parent 417df2aa64
commit b2f4aa1e13

View File

@@ -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