Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): don't report a broken fragment if duplicate fragment exists #35577

Merged
merged 7 commits into from
Aug 26, 2024

Conversation

OnkarRuikar
Copy link
Contributor

If a file has two headers with the same text and one header is updated, then the script reports it as a broken fragment. The PR adds logic to check if the file has headers with the same content.

@OnkarRuikar OnkarRuikar requested a review from a team as a code owner August 24, 2024 06:11
@OnkarRuikar OnkarRuikar requested review from pepelsbey and removed request for a team August 24, 2024 06:11
@github-actions github-actions bot added system [PR only] Infrastructure and configuration for the project size/s [PR only] 6-50 LoC changed labels Aug 24, 2024
@hamishwillee
Copy link
Collaborator

@pepelsbey Can you please look at this sooner rather than later? I think it would be good for this to go in before I merge #35441, but I also would like that in for the release this week.

@bsmth bsmth self-requested a review August 26, 2024 10:03
@bsmth
Copy link
Member

bsmth commented Aug 26, 2024

@pepelsbey Can you please look at this sooner rather than later? I think it would be good for this to go in before I merge #35441, but I also would like that in for the release this week.

Vadim is on PTO this week so I've added myself as a reviewer

@github-actions github-actions bot added size/m [PR only] 51-500 LoC changed and removed size/s [PR only] 6-50 LoC changed labels Aug 26, 2024
Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

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

Tested and it works. Letting @bsmth take another look. Otherwise I'll merge it tonight, just so @hamishwillee can work on his stuff when he wakes up.

Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

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

Thanks, all, let's give it a spin 👍🏻

@bsmth bsmth merged commit 939a739 into mdn:main Aug 26, 2024
7 of 8 checks passed
@OnkarRuikar OnkarRuikar deleted the ci_url_issue_duplicate branch August 27, 2024 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/m [PR only] 51-500 LoC changed system [PR only] Infrastructure and configuration for the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants