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);