From 1ce199ee4b75f840b4d9798c147f799cabf23fc4 Mon Sep 17 00:00:00 2001 From: Frank Stellmacher Date: Tue, 21 Apr 2026 00:00:37 +0200 Subject: [PATCH] fix(ci): drop --auto from nix-lock PR merge (#227) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub rejects \`gh pr merge --auto\` when the PR has no required status checks and no required reviews — the error is "Pull request is in clean status (enablePullRequestAutoMerge)". Our ruleset requires neither, so auto-merge has nothing to wait for. Switch to a direct merge instead. If we ever add required checks, --auto can come back. Validated against the v1.43.0 test release: PR #226 was created by the workflow but the auto-merge call failed; merging it manually with the same flags minus --auto succeeded immediately. Co-authored-by: Psychotoxical Co-authored-by: Claude Opus 4.7 (1M context) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 552cd223..9562397a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -314,4 +314,4 @@ jobs: --head "$BRANCH" \ --title "chore(nix): refresh lock + npmDepsHash for v${VERSION}" \ --body "Auto-generated after the v${VERSION} release: refreshes \`flake.lock\` and \`nix/upstream-sources.json\` so the Cachix substituter resolves the latest pin." - gh pr merge "$BRANCH" --squash --auto --delete-branch + gh pr merge "$BRANCH" --squash --delete-branch