From 74780bb08c92690fe2bd76fd7d8c02111aa1a03e Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Fri, 3 Jul 2026 23:11:48 +0800 Subject: [PATCH] ci: tolerate protected Dependabot workflow updates --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index d7d5a8d..e90fae6 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -182,7 +182,7 @@ jobs: break; } catch (error) { lastError = error; - if (error.status === 405 || error.status === 409) { + if (error.status === 403 || error.status === 405 || error.status === 409) { core.info("Cannot merge PR #" + pull_number + " with " + merge_method + ": " + error.message); continue; }