From f5566794a527dee77797050d5f1d44c5c9422fbd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2026 08:53:57 +0000 Subject: [PATCH] Sync organization files --- .github/workflows/open-xml-update-pr.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/open-xml-update-pr.yml b/.github/workflows/open-xml-update-pr.yml index 62a8739..cd886e4 100644 --- a/.github/workflows/open-xml-update-pr.yml +++ b/.github/workflows/open-xml-update-pr.yml @@ -155,3 +155,10 @@ jobs: body: `Copies the \`${tag}\` version block from the tag's \`${xmlPath}\` to \`${base}\`, so that the plugins catalog lists it.`, }); core.info(`Opened PR: ${pull.html_url}`); + + // The bot authors the PR, assign it to the author of the release PR merged into the tagged branch + const { data: releasePulls } = await github.rest.repos.listPullRequestsAssociatedWithCommit({ owner, repo, commit_sha: process.env.HEAD_SHA }); + const releaseAuthor = releasePulls.find((releasePull) => releasePull.merged_at !== null)?.user.login; + if (releaseAuthor !== undefined) { + await github.rest.issues.addAssignees({ owner, repo, issue_number: pull.number, assignees: [releaseAuthor] }); + }