From 705fdebd78f9b1dd18e7b13f77252c95f31dbf98 Mon Sep 17 00:00:00 2001 From: Dmitrii Safronov Date: Thu, 7 May 2026 12:20:31 +0400 Subject: [PATCH] ci: Simplify auto-pr-description workflow Remove unused head ref and simplify title logic to only handle release branch Signed-off-by: Dmitrii Safronov --- .github/workflows/auto-pr-description.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/auto-pr-description.yml b/.github/workflows/auto-pr-description.yml index 0d9cb8a..0c1519c 100644 --- a/.github/workflows/auto-pr-description.yml +++ b/.github/workflows/auto-pr-description.yml @@ -43,7 +43,6 @@ jobs: const now = new Date().toISOString().slice(0,16).replace('T',' '); const body = process.env.PR_BODY; const base = context.payload.pull_request.base.ref; - const head = context.payload.pull_request.head.ref; const update = { owner: context.repo.owner, repo: context.repo.repo, @@ -51,13 +50,8 @@ jobs: body, }; - // Branch roles come from `.releaserc.cjs`: - // - base `release`: stable releases - // - base `main`: prereleases ("rc") if (base === 'release') { update.title = `Release! PR for ${now}`; - } else if (base === 'main') { - update.title = `PR for ${now}`; } await github.rest.pulls.update(update);