From 912b304d5765ce87b114cd96fa2df1cd157b7b50 Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Thu, 7 May 2026 14:33:33 -0400 Subject: [PATCH] Fix uninterpolated ${PR_ID} in autofix branch name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `branch:` input to peter-evans/create-pull-request was set to `update-collections-${PR_ID}`, but Actions inputs aren't shell- interpolated and no `PR_ID` env var is defined — so the literal string `${PR_ID}` was ending up in the branch name (e.g. `update-collections-${PR_ID}`). peter-evans/create-pull-request is designed to reuse a stable branch: if an open PR already exists for that branch, it force-pushes new changes onto it instead of opening a new one. That's the desired behavior for an hourly autofix job — one rolling PR, not a new branch each hour. Drop the suffix entirely. --- .github/workflows/collections-renames.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/collections-renames.yml b/.github/workflows/collections-renames.yml index 89b512a6870..4c09ef44dc5 100644 --- a/.github/workflows/collections-renames.yml +++ b/.github/workflows/collections-renames.yml @@ -35,5 +35,5 @@ jobs: with: commit-message: "✨ Autofixing renamed/removed collection items ✨" committer: "github-actions[bot] " - branch: "update-collections-${PR_ID}" + branch: update-collections title: "✨ Autofixing renamed/removed collection items ✨"