Skip to content

🐛 fix(release): pin hooks and check PR credits - #29

Merged
gaborbernat merged 38 commits into
mainfrom
fix/hook-pins-note-credits
Oct 24, 2026
Merged

gaborbernat merged 38 commits into
mainfrom
fix/hook-pins-note-credits

Conversation

@gaborbernat

@gaborbernat gaborbernat commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Hook updates pin resolved Python dependencies while preserving version ranges. Resolution follows each hook's Python version, the seven-day PyPI cutoff, and the hook manifest's default. It ignores caller index and TLS overrides and rejects YAML aliases or merges that could redirect a pin edit.

Release notes validate PR credits against rendered Markdown links, including reference links and grouped PRs. Reviewer mentions and unrelated URL fragments do not supply credits. Fragment linking accepts GitHub profile URL variants and valid Knope YAML front matter.

The hooks command no longer accepts --exclude-newer or --python-version. github-workflows #12 must lock this published release before its weekly updater can run.

@gaborbernat gaborbernat added the bug Something isn't working label Oct 23, 2026
@read-the-docs-community

read-the-docs-community Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 release-creator | 🛠️ Build #35372859 | 📁 Comparing c400889 against latest (b601503)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

YAML aliases can share nodes with unrelated hook fields. Reject them before resolving dependencies so a pin update cannot rewrite those fields.

Ignore code spans and fences during PR credit checks. Literal pull request syntax in documentation is not an attribution.
Parse release notes as Markdown before checking PR links and author credits. This keeps links in code inert and limits each credit to its own PR group.
Reject duplicate keys and shared aliases before editing hook dependencies. Preserve direct dependency comments and wildcard version caps.
Keep code examples out of anchor and PR-link edits. Attribute fragments by full path and accept valid Knope YAML front matter.
@gaborbernat
gaborbernat marked this pull request as ready for review October 24, 2026 06:05
@gaborbernat
gaborbernat merged commit 7732f6f into main Oct 24, 2026
15 checks passed
@gaborbernat
gaborbernat deleted the fix/hook-pins-note-credits branch October 24, 2026 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant