Skip to content

Hotfix redirector sends routine Dependabot bumps to hotfixes when the body quotes a GHSA id #409

Closed

Description

@Shinrai

isDependabotSecurityPR in .github/actions/github/steps/redirect-hotfix-pr/action.mjs falls back to "any GHSA id in the PR body means security" even when the PR's base is already the routine target-branch. Dependabot copies upstream release notes into the body, so a normal bump whose upstream changelog mentions an advisory gets treated as a security update.

Hit it on llm-translator: Dependabot opened the patch group bump (vitest-runner 1.5.4 → 1.5.6, @types/node) as CLDMV/llm-translator#82 into next. vitest-runner's v1.5.6 notes list GHSA-g7r4-m6w7-qqqr and GHSA-238p-pmpm-9mq7, so the redirector closed it, cherry-picked it onto hotfixes as CLDMV/llm-translator#84, and that auto-merged into a v0.2.1 hotfix release PR (CLDMV/llm-translator#87) for a dev-only bump.

Fix: when dependabotBase is known and baseRef === dependabotBase, return false. Security updates are already caught by the base mismatch (GitHub opens them on the default branch), so the body check should only apply when no target branch is configured. Any repo whose deps quote advisories in their release notes (every CLDMV package that ships a changelog with a Security section) will hit this.

Activity

  1. added
    type: bug
    priority: high
    type: ci
    status: not started
    on Nov 1, 2026
  2. added
    status: implemented
    and removed
    status: not started
    on Nov 1, 2026
  3. cldmv-bot commented on Nov 1, 2026

    @cldmv-bot
    Contributor

    Marked status: implemented — resolved by #410, merged into next. This issue closes automatically when that work ships to the default branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: highstatus: implementedtype: bugtype: ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions