Skip to content

Stale workflow auto-closes Dependabot PRs (setup-node v7 bump was dropped) #161

Backlog

Description

@TMHSDigital

Summary

stale-prs exempts only pinned,security, so Dependabot PRs labelled dependencies are staled after 30 days and closed 14 days later. PR #145 (actions/setup-node 6 to 7) was closed unmerged by this job on 2026-11-29, and Dependabot will not propose that release again. The scaffold's stale template has no exemptions at all.

Where

  • .github/workflows/stale.yml:48
  • .github/workflows/stale.yml:11-30 (stale-issues job also processes PRs, label stalevsStale)
  • scaffold/templates/stale.yml.j2:20

Details

PR #148 (release-drafter 7.11.0, create-pull-request 8.1.3) is on the same path.

Impact

Major and security updates disappear without anyone deciding to drop them, here and across the fleet.

Suggested fix

Add dependencies to exempt-pr-labels in stale.yml and stale.yml.j2; set days-before-pr-stale: -1 on the issues job. Reopen #145 or use @dependabot recreate, then bump setup-node to v7 in validate.yml, ACTION_PINS, and the two template literals.

Acceptance criteria

  • Dependabot PRs are never staled or closed
  • setup-node is on v7 in the meta-repo and scaffold pin table

Getting started

  • Relevant files: .github/workflows/stale.yml, scaffold/templates/stale.yml.j2
  • How to run tests: pip install -r requirements-test.txt && python -m pytest
  • After any registry or standards change: python scripts/sync_from_registry.py
  • Conventions: see CONTRIBUTING.md and standards/writing-style.md

Filed by repo-audit/full-audit at 2c7a7fe. Severity: medium. Effort: S. audit-key: ci|.github/workflows/stale.yml|exempt-pr-labels

Activity

  1. added
    good first issue
    severity: medium
    on Nov 30, 2026
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

    cigood first issueseverity: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions