Skip to content

Clean Dependabot PR descriptions automatically - #10

Merged
j0sh merged 1 commit into
mainfrom
ja-codex/clean-dependabot-descriptions
Oct 23, 2026
Merged

j0sh merged 1 commit into
mainfrom
ja-codex/clean-dependabot-descriptions

Conversation

@j0sh

@j0sh j0sh commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Dependabot descriptions contain generated HTML that gets copied into squash commit messages. Clean them automatically when a PR is opened, reopened, updated, or edited, preserving Markdown summaries and version tables.

The workflow only edits PR metadata and aborts if the result is empty or still contains HTML. It uses a pinned action with pull-requests: write and does not check out PR code.

Validation:

Copilot AI balanced review requested due to automatic review settings October 23, 2026 16:24
@j0sh
j0sh merged commit f7be0c9 into main Oct 23, 2026
5 checks passed
@j0sh
j0sh deleted the ja-codex/clean-dependabot-descriptions branch October 23, 2026 16:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The workflow is narrowly scoped, validates output before updating descriptions, and has no identified blocking issues.

No open issues 🎉

What changed in this PR

Adds a workflow to remove generated HTML from Dependabot PR descriptions before it carries into squash commit messages, while preserving Markdown summaries and version tables.

Changes:

  • Runs when Dependabot PRs are opened, reopened, synchronized, or edited.
  • Removes generated details and boilerplate, rejecting empty output or remaining HTML.
  • Uses a pinned action with PR-write permissions and no checkout or execution of PR code.
File Description
.github/​workflows/​clean-dependabot.yml Adds guarded, metadata-only cleanup of Dependabot PR descriptions.

Review effort: Balanced

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.

2 participants