Skip to content

Commit f1c8c16

Browse files
theoephraimclaude
andcommitted
Add frog images and include talking frog in version PR description
Also update existing PRs with latest title on each run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7979c61 commit f1c8c16

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

images/frog-neutral.png

10.2 KB
Loading

images/frog-talking.png

10.3 KB
Loading

packages/bumpy/src/commands/ci.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,10 @@ async function createVersionPr(
175175

176176
if (existingPr) {
177177
log.step(`Updating existing PR #${existingPr}...`);
178-
await runAsync(`gh pr edit ${existingPr} --body-file -`, { cwd: rootDir, input: prBody });
178+
await runAsync(`gh pr edit ${existingPr} --title "${config.versionPr.title}" --body-file -`, {
179+
cwd: rootDir,
180+
input: prBody,
181+
});
179182
log.success(`Updated PR #${existingPr}`);
180183
} else {
181184
log.step('Creating version PR...');

packages/bumpy/src/types.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,15 @@ export const DEFAULT_CONFIG: BumpyConfig = {
138138
versionPr: {
139139
title: '🐸 Versioned release',
140140
branch: 'bumpy/version-packages',
141-
preamble:
142-
'Merge this PR to publish the listed packages. This PR will be automatically updated as new changesets are added to main.',
141+
preamble: [
142+
'<img src="https://raw.githubusercontent.com/dmno-dev/bumpy/main/images/frog-talking.png" alt="bumpy" width="80" align="left" style="image-rendering: pixelated; margin-right: 12px;" />',
143+
'',
144+
'Merge this PR when you are ready to release the packages listed below.',
145+
'',
146+
'<br clear="left" />',
147+
'',
148+
'_ℹ️ This PR will be automatically updated as new changesets are merged into the base branch. Powered by [bumpy](https://github.com/dmno-dev/bumpy)._',
149+
].join('\n'),
143150
},
144151
};
145152

0 commit comments

Comments
 (0)