Skip to content

docs(nis2): describe the branch rules without the owner's bypass - #49

Merged
maksimtech merged 1 commit into
mainfrom
docs/rules-without-bypass
Oct 12, 2026
Merged

maksimtech merged 1 commit into
mainfrom
docs/rules-without-bypass

Conversation

@maksimtech

Copy link
Copy Markdown
Owner

The owner removed the bypass from the main ruleset on 2026-10-12 (and, in exeradar and patchradar, added the pull-request rule). docs/nis2-compliance.md still described the old rules.

  • The branch-rules paragraph gives the rules as read from the settings on 2026-10-12: pull request required for every change, the version bump included, no exception for the maintainer's account; required checks and merge methods as configured. The earlier state is kept as past.
  • tests/test_nis2_evidence.py holds the new wording and refuses the old phrases.
  • release.sh (where there is one) falls back to a rebase merge when the ruleset refuses a squash: apkradar allows rebase merges only.

🤖 Generated with Claude Code

On 2026-10-12 the ruleset on main lost the owner's bypass and requires a
pull request for every change, the version bump included. The document
still said the maintainer could bypass the rules (and, where it was so,
that no rule required a pull request or that release commits went
straight to main). It now gives the rules as read that day and keeps
the earlier state as past; a test holds the new wording and refuses the
old. release.sh falls back to a rebase merge where the ruleset refuses
a squash, as apkradar's does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@codspeed

codspeed Bot commented Oct 12, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ 11 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

✅ 17 untouched benchmarks


Comparing docs/rules-without-bypass (d6e1165) with main (bdf4981)

Open in CodSpeed

@codecov

codecov Bot commented Oct 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@maksimtech
maksimtech merged commit 2f685d7 into main Oct 12, 2026
25 checks passed
@maksimtech
maksimtech deleted the docs/rules-without-bypass branch October 12, 2026 22:11
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