Skip to content

Track all commits on doc-en master, not just merged PRs#2726

Merged
lacatoire merged 1 commit intophp:masterfrom
lacatoire:fix/track-direct-commits
Apr 9, 2026
Merged

Track all commits on doc-en master, not just merged PRs#2726
lacatoire merged 1 commit intophp:masterfrom
lacatoire:fix/track-direct-commits

Conversation

@lacatoire
Copy link
Copy Markdown
Member

@lacatoire lacatoire commented Apr 9, 2026

Remplace l'approche en deux passes (PRs mergées + commits directs) par un unique pass sur tous les PR master. Déduplique par SHA et par numéro de PR (rétrocompat).

@lacatoire lacatoire force-pushed the fix/track-direct-commits branch from dd849f2 to 55735eb Compare April 9, 2026 16:01
@lacatoire lacatoire changed the title Track direct commits to doc-en master, not just merged PRs Track all commits on doc-en master, not just merged PRs Apr 9, 2026
@lacatoire lacatoire requested a review from Copilot April 9, 2026 16:03
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the EN→FR sync tracking script to scan all commits on php/doc-en master from the last 7 days (instead of only merged PRs), and to deduplicate created issues using commit SHAs with optional PR-number backward compatibility.

Changes:

  • Replace merged-PR enumeration with commit enumeration on doc-en master (paginated).
  • Create issues based on per-commit metadata (message/author/date) and changed files.
  • Add deduplication by commit SHA, with an additional PR-number check for backward compatibility.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lacatoire lacatoire force-pushed the fix/track-direct-commits branch 2 times, most recently from a5928b5 to f178ce3 Compare April 9, 2026 16:08
Replace the PR-based approach with a single pass over all commits on
master. No commit is filtered out based on PR association.
@lacatoire lacatoire force-pushed the fix/track-direct-commits branch from f178ce3 to 0a7fcb2 Compare April 9, 2026 16:09
@lacatoire lacatoire merged commit 0eb7821 into php:master Apr 9, 2026
3 checks passed
@lacatoire lacatoire deleted the fix/track-direct-commits branch April 9, 2026 16:10
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