From 1dd5bba56eaef3408416bc569ad3a7f132707446 Mon Sep 17 00:00:00 2001 From: Deepanshu Date: Fri, 24 Jul 2026 09:32:00 +0530 Subject: [PATCH] =?UTF-8?q?ci:=20Renovate=20=E2=80=94=20commit=20via=20pla?= =?UTF-8?q?tform=20API=20to=20avoid=20repository-changed=20aborts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RENOVATE_PLATFORM_COMMIT=enabled. On repos whose CI reacts to the pushed branch, the local-git-push path trips Renovate's base-SHA guard ("repository has changed during renovation - aborting") right after creating the first branch. Committing through the GitHub API sidesteps it. --- .github/workflows/renovate.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index a2d6dd7..db31616 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -55,6 +55,10 @@ jobs: # The calling consumer repo — generic, never hardcoded. RENOVATE_REPOSITORIES: ${{ github.repository }} RENOVATE_AUTODISCOVER: 'false' + # Commit via the GitHub API, not local git push — avoids the + # "repository has changed during renovation" abort that a repo's CI + # reacting to the pushed branch can otherwise trigger. + RENOVATE_PLATFORM_COMMIT: 'enabled' # dryRun true → 'full' (detect only); false → '' (live). 'full' is # truthy so this ternary is sound. RENOVATE_DRY_RUN: ${{ inputs.dryRun && 'full' || '' }}