diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts
index 0f55698aeb41f4f3d76e269ae3ea4e93dd0e514b..bb74bb58b2f13b571a12251b92690dde115c21ff 100644
--- a/lib/util/git/index.ts
+++ b/lib/util/git/index.ts
@@ -790,7 +790,8 @@ export async function commitFiles({
       return null;
     }
     if (
-      err.message.includes('remote rejected') &&
+      (err.message.includes('remote rejected') ||
+        err.message.includes('403')) &&
       files?.some((file) => file.name?.startsWith('.github/workflows/'))
     ) {
       logger.debug({ err }, 'commitFiles error');