René's URL Explorer Experiment


Title: Check that a pull request follows the template by akolson · Pull Request #116 · learningequality/.github · GitHub

Open Graph Title: Check that a pull request follows the template by akolson · Pull Request #116 · learningequality/.github

X Title: Check that a pull request follows the template by akolson · Pull Request #116 · learningequality/.github

Description: Summary Contributors open pull requests that leave required sections of the template empty, and reviewers ask for the missing information by hand. A body can carry every heading and still say nothing under them. The change A new pull-request-template automation fails the run when the body does not carry the sections its template marks as required. It resolves the template the way GitHub does, the repo's own copy first and this repo's second, and reads it from the base branch, so a pull request cannot relax the rules it is judged by. A section is required when its heading carries a comment. A template marking none requires every level-two heading, so a repo is strict rather than silently unchecked. Four states fail: the heading is missing, the section is empty once comments are stripped, it still holds …, or it still reads word for word as the template wrote it. Every failure is named, because the job log is the only channel. Bot authors are exempt. Both line endings are read the same way. The web form returns a body with CRLF, and the contents API returns the template with LF. edited and reopened join the on: union, so a corrected body clears the check. Consumers take the widened template on the next sync run. References Closes #102. #115 marked this repo's own template, and the three repos that keep their own took the same markers in learningequality/kolibri-design-system#1381, learningequality/morango#397 and learningequality/test-actions#102. All four are merged. An earlier version of this branch also copied the shared template into every consumer. That is reverted in c494075. GitHub already applies this repo's template to any repo holding none of its own, and the check falls back to this repo's template, so it needs no copy in the consumer. Reviewer guidance npm test. Expect 122 passing, 19 of them new. Read scripts/pull-request-template.js. Check that the template is read from pull_request.base.ref and never from the head. After merging, open a pull request in test-actions leaving a required section empty. Expect the check to fail and the log to name that section. Then fill the section in the description. Expect the next run to pass. Those are cases 1 to 4 of the issue's testing section, and they can only run after this merges, because the leaf is called at @main. AI usage I used Claude Code to write the check and its tests, to confirm that the web form returns CRLF bodies while the contents API returns LF, and to run the suite and prek. I decided the marker convention, which sections are required, and that the check reads the base branch. I reviewed the diff.

Open Graph Description: Summary Contributors open pull requests that leave required sections of the template empty, and reviewers ask for the missing information by hand. A body can carry every heading and still say nothi...

X Description: Summary Contributors open pull requests that leave required sections of the template empty, and reviewers ask for the missing information by hand. A body can carry every heading and still say nothi...

Opengraph URL: https://github.com/learningequality/.github/pull/116

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fa86c8e4-f593-f6ab-76de-e878885ab85f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6BA:DCDA8:266DE58:3205D8C:6AFFF91D
html-safe-nonce52b3225eeb7d413ea87b4e480da54f307614635de3d90165390151c47a785e7a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkJBOkRDREE4OjI2NkRFNTg6MzIwNUQ4Qzo2QUZGRjkxRCIsInZpc2l0b3JfaWQiOiIxOTkyMTgzMDA1Mzc1ODg3NjQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaced4182fac904b8a6036cb359a1ed7a01efdc7bb3d0b0ee451eee9923e43d74ab
hovercard-subject-tagpull_request:4953232527
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/learningequality/.github/pull/116/files
twitter:imagehttps://avatars.githubusercontent.com/u/5203639?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5203639?s=400&v=4
og:image:altSummary Contributors open pull requests that leave required sections of the template empty, and reviewers ask for the missing information by hand. A body can carry every heading and still say nothi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/learningequality/.github git https://github.com/learningequality/.github.git
octolytics-dimension-user_id3926525
octolytics-dimension-user_loginlearningequality
octolytics-dimension-repository_id647407699
octolytics-dimension-repository_nwolearningequality/.github
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id647407699
octolytics-dimension-repository_network_root_nwolearningequality/.github
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/learningequality/.github/pull/116/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flearningequality%2F.github%2Fpull%2F116%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flearningequality%2F.github%2Fpull%2F116%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=learningequality%2F.github
Reloadhttps://github.com/learningequality/.github/pull/116/files
Reloadhttps://github.com/learningequality/.github/pull/116/files
Reloadhttps://github.com/learningequality/.github/pull/116/files
learningequalityhttps://github.com/learningequality
.githubhttps://github.com/learningequality/.github
Codehttps://github.com/learningequality/.github
Issues10 (10)https://github.com/learningequality/.github/issues
Pull requests1 (1)https://github.com/learningequality/.github/pulls
Actionshttps://github.com/learningequality/.github/actions
Projectshttps://github.com/learningequality/.github/projects
Security and qualityhttps://github.com/learningequality/.github/security
Insightshttps://github.com/learningequality/.github/insights
Sign up for GitHub https://github.com/signup?return_to=%2Flearningequality%2F.github%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Flearningequality%2F.github%2Fissues%2Fnew%2Fchoose
rtibbleshttps://github.com/rtibbles
mainhttps://github.com/learningequality/.github/tree/main
pull-request-template-checkhttps://github.com/learningequality/.github/tree/pull-request-template-check
Conversation 40 https://github.com/learningequality/.github/pull/116
Commits 12 https://github.com/learningequality/.github/pull/116/commits
Checks 20 https://github.com/learningequality/.github/pull/116/checks
Files changed https://github.com/learningequality/.github/pull/116/files
Please reload this pagehttps://github.com/learningequality/.github/pull/116/files
Check that a pull request follows the template https://github.com/learningequality/.github/pull/116/files#top
Show all changes 12 commits https://github.com/learningequality/.github/pull/116/files
e4975dc Check that a pull request body follows the template akolson Oct 21, 2026 https://github.com/learningequality/.github/pull/116/commits/e4975dcd879e0fcc0cc8d50479d2b97b8a562487
bd86259 Carry the pull request template to consumers akolson Oct 21, 2026 https://github.com/learningequality/.github/pull/116/commits/bd86259893a9abf6484163f90bbebb11410f2520
784d984 Fix the review findings on the template check akolson Oct 21, 2026 https://github.com/learningequality/.github/pull/116/commits/784d984505a20a524389be600c32e44296399a5b
b1b7bac Fail a required section left as the template wrote it akolson Oct 21, 2026 https://github.com/learningequality/.github/pull/116/commits/b1b7bace4c08bbdba7a18fe42c13f666766054a1
568391c Clarify the pull request template notes in the automation docs akolson Oct 21, 2026 https://github.com/learningequality/.github/pull/116/commits/568391ce877f4e821fa78fff2e1265ded38c5c6b
30053d3 Put the spreadsheet note back beside the automations it refers to akolson Oct 21, 2026 https://github.com/learningequality/.github/pull/116/commits/30053d3c6b50acc13b29c19ee7ca2950bea1dbe6
46964b9 Reword the template read docstring akolson Oct 22, 2026 https://github.com/learningequality/.github/pull/116/commits/46964b9c2d47481783a87a5f0e2c3f3dc87fb56a
2b495ee Name the source repo in the template marker akolson Oct 22, 2026 https://github.com/learningequality/.github/pull/116/commits/2b495ee3df275cbe41d3caf4864ab514dbbe4b5f
d017cf1 Split the body and the template on CRLF as well as LF akolson Oct 22, 2026 https://github.com/learningequality/.github/pull/116/commits/d017cf16235df9fa2ebec29eb9cfebe87ec80619
4f4e7cf Drop the unused body fixture from the template tests akolson Oct 22, 2026 https://github.com/learningequality/.github/pull/116/commits/4f4e7cf797d519005a61fa90f36bde6ea753eaee
c494075 Revert the pull request template propagation akolson Oct 22, 2026 https://github.com/learningequality/.github/pull/116/commits/c4940752fa4b4285a8722f4e7eed80b961dcac8f
81286a9 Cover the sectionless template and the heading case akolson Oct 22, 2026 https://github.com/learningequality/.github/pull/116/commits/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2
Clear filters https://github.com/learningequality/.github/pull/116/files
Please reload this pagehttps://github.com/learningequality/.github/pull/116/files
Please reload this pagehttps://github.com/learningequality/.github/pull/116/files
automation-caller.yml https://github.com/learningequality/.github/pull/116/files#diff-0bb6c0f83e33fa1f634caac080134f0683d14b7172534f81be8bf9eccbab89e0
automation-group-pull-request-target.yml https://github.com/learningequality/.github/pull/116/files#diff-6e63ae77979d8af407dbab558a826e818f880d30614647f6d79e5ca250797d13
automation.yml https://github.com/learningequality/.github/pull/116/files#diff-d7c8d35f5c8f77e5562e8113e92f193d11ad2b5b3dc8e8dd97edc628cf56adca
pull-request-template.yml https://github.com/learningequality/.github/pull/116/files#diff-f254cbd448720e3307b370b7cf7aaadb2455f450253b1ed869c4301b86c8c4bc
automation-registry.yml https://github.com/learningequality/.github/pull/116/files#diff-c7a694be51887503c8f2a321b8512048c18a5a0ad4a1c658b9c1815576913678
automation-template.yml https://github.com/learningequality/.github/pull/116/files#diff-66aa9fc96fbb7bc084993c4b657add678f55346a2ebd622babb36094f90058ed
automation.md https://github.com/learningequality/.github/pull/116/files#diff-51388c15be0d7fc1e715ab32873956ee166188dd267113833917bc6e4c501237
community-automations.md https://github.com/learningequality/.github/pull/116/files#diff-004d7cf8935e0357f5e0f5703d8a039d653b7ab1a208b2d1e5476bcb0147e0ae
constants.js https://github.com/learningequality/.github/pull/116/files#diff-79a13bab825d2ace9e573e780e9e44871c355d9804f20acd8d08330eac853820
pull-request-template.js https://github.com/learningequality/.github/pull/116/files#diff-39b7b0f1af17db415da473b5cc3e08a0bcc1e17003ee91295486f9f35eda84d4
pull-request-template.test.js https://github.com/learningequality/.github/pull/116/files#diff-987b869d6e920659d19868fdb6adf711e9ed80f4a6a91fdcd8378f15e43e571a
.github/workflows/automation-caller.ymlhttps://github.com/learningequality/.github/pull/116/files#diff-0bb6c0f83e33fa1f634caac080134f0683d14b7172534f81be8bf9eccbab89e0
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/.github/workflows/automation-caller.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
https://github.com/learningequality/.github/pull/116/files#diff-0bb6c0f83e33fa1f634caac080134f0683d14b7172534f81be8bf9eccbab89e0
https://github.com/learningequality/.github/pull/116/files#diff-0bb6c0f83e33fa1f634caac080134f0683d14b7172534f81be8bf9eccbab89e0
.github/workflows/automation-group-pull-request-target.ymlhttps://github.com/learningequality/.github/pull/116/files#diff-6e63ae77979d8af407dbab558a826e818f880d30614647f6d79e5ca250797d13
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/.github/workflows/automation-group-pull-request-target.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
https://github.com/learningequality/.github/pull/116/files#diff-6e63ae77979d8af407dbab558a826e818f880d30614647f6d79e5ca250797d13
https://github.com/learningequality/.github/pull/116/files#diff-6e63ae77979d8af407dbab558a826e818f880d30614647f6d79e5ca250797d13
https://github.com/learningequality/.github/pull/116/files#diff-6e63ae77979d8af407dbab558a826e818f880d30614647f6d79e5ca250797d13
.github/workflows/automation.ymlhttps://github.com/learningequality/.github/pull/116/files#diff-d7c8d35f5c8f77e5562e8113e92f193d11ad2b5b3dc8e8dd97edc628cf56adca
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/.github/workflows/automation.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
https://github.com/learningequality/.github/pull/116/files#diff-d7c8d35f5c8f77e5562e8113e92f193d11ad2b5b3dc8e8dd97edc628cf56adca
https://github.com/learningequality/.github/pull/116/files#diff-d7c8d35f5c8f77e5562e8113e92f193d11ad2b5b3dc8e8dd97edc628cf56adca
https://github.com/learningequality/.github/pull/116/files#diff-d7c8d35f5c8f77e5562e8113e92f193d11ad2b5b3dc8e8dd97edc628cf56adca
.github/workflows/pull-request-template.ymlhttps://github.com/learningequality/.github/pull/116/files#diff-f254cbd448720e3307b370b7cf7aaadb2455f450253b1ed869c4301b86c8c4bc
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/.github/workflows/pull-request-template.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
Please reload this pagehttps://github.com/learningequality/.github/pull/116/files
automation-registry.ymlhttps://github.com/learningequality/.github/pull/116/files#diff-c7a694be51887503c8f2a321b8512048c18a5a0ad4a1c658b9c1815576913678
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/automation-registry.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
https://github.com/learningequality/.github/pull/116/files#diff-c7a694be51887503c8f2a321b8512048c18a5a0ad4a1c658b9c1815576913678
https://github.com/learningequality/.github/pull/116/files#diff-c7a694be51887503c8f2a321b8512048c18a5a0ad4a1c658b9c1815576913678
automation-template.ymlhttps://github.com/learningequality/.github/pull/116/files#diff-66aa9fc96fbb7bc084993c4b657add678f55346a2ebd622babb36094f90058ed
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/automation-template.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
https://github.com/learningequality/.github/pull/116/files#diff-66aa9fc96fbb7bc084993c4b657add678f55346a2ebd622babb36094f90058ed
https://github.com/learningequality/.github/pull/116/files#diff-66aa9fc96fbb7bc084993c4b657add678f55346a2ebd622babb36094f90058ed
docs/automation.mdhttps://github.com/learningequality/.github/pull/116/files#diff-51388c15be0d7fc1e715ab32873956ee166188dd267113833917bc6e4c501237
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/docs/automation.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
https://github.com/learningequality/.github/pull/116/files#diff-51388c15be0d7fc1e715ab32873956ee166188dd267113833917bc6e4c501237
https://github.com/learningequality/.github/pull/116/files#diff-51388c15be0d7fc1e715ab32873956ee166188dd267113833917bc6e4c501237
https://github.com/learningequality/.github/pull/116/files#diff-51388c15be0d7fc1e715ab32873956ee166188dd267113833917bc6e4c501237
https://github.com/learningequality/.github/pull/116/files#diff-51388c15be0d7fc1e715ab32873956ee166188dd267113833917bc6e4c501237
docs/community-automations.mdhttps://github.com/learningequality/.github/pull/116/files#diff-004d7cf8935e0357f5e0f5703d8a039d653b7ab1a208b2d1e5476bcb0147e0ae
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/docs/community-automations.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
https://github.com/learningequality/.github/pull/116/files#diff-004d7cf8935e0357f5e0f5703d8a039d653b7ab1a208b2d1e5476bcb0147e0ae
https://github.com/learningequality/.github/pull/116/files#diff-004d7cf8935e0357f5e0f5703d8a039d653b7ab1a208b2d1e5476bcb0147e0ae
scripts/constants.jshttps://github.com/learningequality/.github/pull/116/files#diff-79a13bab825d2ace9e573e780e9e44871c355d9804f20acd8d08330eac853820
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/scripts/constants.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
https://github.com/learningequality/.github/pull/116/files#diff-79a13bab825d2ace9e573e780e9e44871c355d9804f20acd8d08330eac853820
https://github.com/learningequality/.github/pull/116/files#diff-79a13bab825d2ace9e573e780e9e44871c355d9804f20acd8d08330eac853820
https://github.com/learningequality/.github/pull/116/files#diff-79a13bab825d2ace9e573e780e9e44871c355d9804f20acd8d08330eac853820
scripts/pull-request-template.jshttps://github.com/learningequality/.github/pull/116/files#diff-39b7b0f1af17db415da473b5cc3e08a0bcc1e17003ee91295486f9f35eda84d4
View file https://github.com/learningequality/.github/blob/81286a9db9628d0ad4d76e90e5cb9f26ed0de8d2/scripts/pull-request-template.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/learningequality/.github/pull/116/{{ revealButtonHref }}
Please reload this pagehttps://github.com/learningequality/.github/pull/116/files
Please reload this pagehttps://github.com/learningequality/.github/pull/116/files
Please reload this pagehttps://github.com/learningequality/.github/pull/116/files
Please reload this pagehttps://github.com/learningequality/.github/pull/116/files
Please reload this pagehttps://github.com/learningequality/.github/pull/116/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.