dify - ✅(Solved) Fix [Refactor/Chore] Refine .github configs: dependabot, PR template, stale workflow [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#35033Fetched 2026-04-13 05:45:58
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
1
Participants
Timeline (top)
closed ×1cross-referenced ×1referenced ×1

Refine several .github configuration files that have accumulated maintenance debt:

  1. Deduplicate dependabot.yml — The pip and uv package ecosystems (lines 1-103 and 104-203) have identical group definitions. Since the project uses uv, the pip ecosystem can be removed.

  2. Fix PR template — Checklist items are pre-checked, defeating their purpose. Command references (make lint, pnpm exec vp staged) lack directory context.

  3. Fix stale.yml label mismatch — The any-of-labels field references labels that don't match actual repo labels (e.g., question vs 🙋‍♂️ question, wontfix vs wont-fix, invalid vs 🌚 invalid). The stale messages also have grammar issues.

Root Cause

Refine several .github configuration files that have accumulated maintenance debt:

  1. Deduplicate dependabot.yml — The pip and uv package ecosystems (lines 1-103 and 104-203) have identical group definitions. Since the project uses uv, the pip ecosystem can be removed.

  2. Fix PR template — Checklist items are pre-checked, defeating their purpose. Command references (make lint, pnpm exec vp staged) lack directory context.

  3. Fix stale.yml label mismatch — The any-of-labels field references labels that don't match actual repo labels (e.g., question vs 🙋‍♂️ question, wontfix vs wont-fix, invalid vs 🌚 invalid). The stale messages also have grammar issues.

Fix Action

Fixed

PR fix notes

PR #35035: chore: refine .github configs for dependabot, PR template, and stale workflow

Description (problem / solution / changelog)

Summary

  • Remove duplicate pip ecosystem from dependabot.yml — it was identical to the uv block and the project uses uv as its package manager
  • Uncheck all pre-checked items in PR template so contributors actively confirm each checklist item
  • Add cd api && directory context to backend lint command in PR template
  • Fix stale.yml label names to match actual repo labels (e.g. question🙋‍♂️ question, wontfixwont-fix, invalid🌚 invalid)
  • Fix grammar in stale bot messages ("Close due to it's no longer active" → "Closed due to inactivity")

Fixes #35033

Test plan

  • Verify dependabot still creates weekly PRs for uv and github-actions ecosystems
  • Confirm new PR template renders with all checkboxes unchecked
  • Verify stale bot labels match actual repo labels via gh label list

🤖 Generated with Claude Code

Changed files

  • .github/dependabot.yml (modified, +0/-100)
  • .github/pull_request_template.md (modified, +4/-4)
  • .github/workflows/stale.yml (modified, +3/-3)
RAW_BUFFERClick to expand / collapse

Description

Refine several .github configuration files that have accumulated maintenance debt:

  1. Deduplicate dependabot.yml — The pip and uv package ecosystems (lines 1-103 and 104-203) have identical group definitions. Since the project uses uv, the pip ecosystem can be removed.

  2. Fix PR template — Checklist items are pre-checked, defeating their purpose. Command references (make lint, pnpm exec vp staged) lack directory context.

  3. Fix stale.yml label mismatch — The any-of-labels field references labels that don't match actual repo labels (e.g., question vs 🙋‍♂️ question, wontfix vs wont-fix, invalid vs 🌚 invalid). The stale messages also have grammar issues.

Motivation

These misconfigurations reduce contributor experience and cause the stale bot to silently malfunction (labels never match, so issues are never auto-closed as intended).

extent analysis

TL;DR

Refine the .github configuration files by removing redundant dependencies, updating the PR template, and fixing label mismatches in stale.yml to improve contributor experience and enable proper stale bot functionality.

Guidance

  • Remove the redundant pip ecosystem from dependabot.yml to deduplicate group definitions.
  • Update the PR template to uncheck checklist items by default and provide directory context for command references.
  • Fix label mismatches in stale.yml by updating the any-of-labels field to reference actual repo labels, and correct grammar issues in stale messages.

Example

# Updated dependabot.yml
version: 2
updates:
  - package-ecosystem: "uv"
    # ...

# Updated PR template
## Checklist
- [ ] Item 1
- [ ] Item 2
## Commands
Run `make lint` from the project root directory.

# Updated stale.yml
stale:
  issues:
    exempt_labels:
      - "wont-fix"
      - "invalid"
    daysUntilStale: 30
    daysUntilClose: 60
    staleLabel: "stale"
    closeLabel: "closed"

Notes

These changes assume that the project uses the uv package ecosystem and that the actual repo labels match the updated labels in stale.yml.

Recommendation

Apply workaround: Refine the .github configuration files as described above to improve contributor experience and enable proper stale bot functionality. This approach directly addresses the identified issues and provides a clear path to resolving the maintenance debt.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING