Skip to content

fix: remove duplicate bypass allowances from suborg files#1

Merged
nbrieussel merged 1 commit into
mainfrom
fix/bypass-dedup
Apr 13, 2026
Merged

fix: remove duplicate bypass allowances from suborg files#1
nbrieussel merged 1 commit into
mainfrom
fix/bypass-dedup

Conversation

@nbrieussel
Copy link
Copy Markdown

Summary

  • bypass_pull_request_allowances was added to both settings.yml (org level) and all three suborg files
  • safe-settings uses deepMerge which concatenates arrays, producing ["nbrieussel","nbrieussel"] after the org+suborg merge
  • The NOP dry-run showed this as a deletion — meaning the next real sync would have removed the bypass for infrastructure and gitops

Fix: keep bypass_pull_request_allowances only in settings.yml. The deepMerge carries it through to suborg repos since the suborg files no longer define that key.

Test plan

  • NOP dry-run before this PR: showed bypass as a deletion (bug confirmed)
  • NOP dry-run after merge: should show bypass as an addition (or no diff if already applied), no deletions
  • Verify nbrieussel can merge a PR on infrastructure without a second reviewer

🤖 Generated with Claude Code

safe-settings deepMerge concatenates arrays, so having nbrieussel in
both settings.yml and each suborg file produced ["nbrieussel","nbrieussel"]
after merge. The NOP diff showed this as a deletion — meaning the next
real sync would have removed the bypass entirely.

Keeping bypass_pull_request_allowances only in settings.yml (org level).
The deepMerge carries it through to suborg repos since the suborg files
no longer override that key.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nbrieussel nbrieussel merged commit 2fc37a7 into main Apr 13, 2026
1 check failed
@nbrieussel nbrieussel deleted the fix/bypass-dedup branch April 14, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant