Skip to content

Use a minimal PR description for squash-only repos#14920

Open
zygoloid wants to merge 1 commit intodependabot:mainfrom
zygoloid:dependabot-issue-1986
Open

Use a minimal PR description for squash-only repos#14920
zygoloid wants to merge 1 commit intodependabot:mainfrom
zygoloid:dependabot-issue-1986

Conversation

@zygoloid
Copy link
Copy Markdown

@zygoloid zygoloid commented May 6, 2026

What are you trying to accomplish?

Add a configuration setting to determine whether to use a minimal or full PR description. If the repository only permits squash merges, then default to minimal PR descriptions. Otherwise, default to full PR descriptions.

Fixes #1986

Anything you want to highlight for special attention from reviewers?

It'd be great to include the full message as a PR comment, but I don't think I can do that without a change to the dependabot API. So for now the full description is not included in the PR for a squash-only repository.

This also doesn't detect the case where the repository is effectively squash-only due to a branch protection rule that enforces use of a squash-only merge queue, but that information appears inaccessible from dependabot's access token.

How will you know you've accomplished your goal?

Manually tested using the dry-run mode against repositories with squash-only and not-squash-only setups.

Assisted-by: Gemini via Antigravity

@zygoloid zygoloid requested a review from a team as a code owner May 6, 2026 01:21
Add a configuration setting to determine whether to use a minimal or
full PR description. By default, pick the mode based on whether the repo
only allows squash merges.

Fixes dependabot#1986

Assisted-by: Gemini via Antigravity
@zygoloid zygoloid force-pushed the dependabot-issue-1986 branch from 86c564d to 55b8da1 Compare May 6, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature request: minimal PR description option/formatting

1 participant