Skip to content

Fix template sync: limit to 48h PRs, prevent duplicate issues#485

Merged
edvilme merged 1 commit intomainfrom
fix/template-sync-dedup-and-48h
Mar 20, 2026
Merged

Fix template sync: limit to 48h PRs, prevent duplicate issues#485
edvilme merged 1 commit intomainfrom
fix/template-sync-dedup-and-48h

Conversation

@edvilme
Copy link
Contributor

@edvilme edvilme commented Mar 20, 2026

Changes

  • 48-hour window: Only consider template PRs merged in the last 48 hours (instead of fetching the last 50 merged PRs)
  • Duplicate prevention: Search open AND closed issues and PRs before creating new ones (previously only checked open issues)
  • Full URLs: Use full GitHub URLs for template PR references to avoid confusion with this repo's own issues/PRs

These changes reduce noise from the daily sync workflow and prevent duplicate issue creation.

@edvilme edvilme enabled auto-merge (squash) March 20, 2026 17:51
@edvilme edvilme added the debt Technical debt or repo cleanup label Mar 20, 2026
@edvilme edvilme force-pushed the fix/template-sync-dedup-and-48h branch from 09b8059 to a6bdf88 Compare March 20, 2026 18:44
- Only consider template PRs merged in the last 48 hours instead of last 50
- Check open AND closed issues and PRs before creating duplicates
- Use full URLs for template PR references to avoid cross-repo confusion

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

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

Approved via Review Center.

@edvilme edvilme merged commit ffd4685 into main Mar 20, 2026
22 checks passed
@edvilme edvilme deleted the fix/template-sync-dedup-and-48h branch March 20, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Technical debt or repo cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants