Skip to content

Commit b20d6b8

Browse files
Copilotlpcox
andauthored
refactor: keep owner commit elevation logic rust-edition compatible
Agent-Logs-Url: https://github.com/github/gh-aw-mcpg/sessions/7ab311b0-8ace-4ecc-bb17-83fa8b9b00d8 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent 05da8b6 commit b20d6b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • guards/github-guard/rust-guard/src/labels

guards/github-guard/rust-guard/src/labels/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ pub fn commit_integrity(
16751675
// `author_association`. Ensure owner-authored commits still get writer floor.
16761676
if !repo_private {
16771677
if let Some((owner, _repo)) = repo_full_name.split_once('/') {
1678-
if !owner.is_empty() && author_login.eq_ignore_ascii_case(owner) {
1678+
if author_login.eq_ignore_ascii_case(owner) {
16791679
integrity = max_integrity(
16801680
repo_full_name,
16811681
integrity,

0 commit comments

Comments
 (0)