Skip to content

Commit

Permalink
feat: include PR number in default commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Feb 7, 2023
1 parent a7f7442 commit ed2a1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const pr = command({
const {
baseRefName, headRefName, headRefOid, title, url,
} = fetchedPr.result;
const message = argv.flags.message || title;
const message = argv.flags.message || `${title} (#${prNumber})`;

const fetchRemote = await task(
`Fetching branches from remote ${stringify(remote)}`,
Expand Down

0 comments on commit ed2a1c3

Please sign in to comment.