Skip to main content

is_release_only

Function is_release_only 

Source
pub fn is_release_only(files: &[String]) -> bool
Expand description

Did the merged change touch only the release manifest and its lockfile?

after_merge is reached from every qualifying merge, including a version-bump pull request’s own - without this check a bump would trigger another bump forever. A human-authored version-only pull request is exempt from review for the same reason (AGENTS.md’s “version-bump-only pull requests”), so using its shape as the “do not treat this as a trigger” test is one rule doing both jobs instead of two.