Skip to content

fix: Do not enforce policies for admins#1651

Merged
HofmeisterAn merged 1 commit intodevelopfrom
bugfix/configure-repo
Mar 7, 2026
Merged

fix: Do not enforce policies for admins#1651
HofmeisterAn merged 1 commit intodevelopfrom
bugfix/configure-repo

Conversation

@HofmeisterAn
Copy link
Copy Markdown
Collaborator

@HofmeisterAn HofmeisterAn commented Mar 7, 2026

What does this PR do?

With the integration of the OpenSSF Scorecard, we updated the repository settings, which resulted in admins no longer being able to approve and merge their own PRs. Due to the lack of maintainers, this is unfortunately necessary. This PR reverts the changes and does not enforce the policies for admins.

Why is it important?

-

Related issues

-

Summary by CodeRabbit

  • Chores
    • Updated repository configuration and team ownership settings to streamline project management.
    • Adjusted branch protection enforcement policies for enhanced repository stability.

@HofmeisterAn HofmeisterAn requested a review from a team as a code owner March 7, 2026 06:09
@HofmeisterAn HofmeisterAn added the chore A change that doesn't impact the existing functionality, e.g. internal refactorings or cleanups label Mar 7, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 7, 2026

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit ac8cc8c
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-dotnet/deploys/69abc11e848505000851d32e
😎 Deploy Preview https://deploy-preview-1651--testcontainers-dotnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 7, 2026

Walkthrough

Configuration updates to GitHub repository settings: CODEOWNERS ownership mappings reassigned to individual and team members, and branch protection settings modified with admin enforcement disabled for main and develop branches.

Changes

Cohort / File(s) Summary
Repository Configuration
.github/CODEOWNERS
Default owner reassigned to HofmeisterAn; documentation ownership transferred to dotnet-team.
Branch Protection Settings
.github/settings.yml
Removed oss-team from teams configuration; disabled admin enforcement on main and develop branch protections.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A hop and a skip through configs so fine,
New owners assigned on the dotted line!
Branch protections lighten their admin grip,
The repository gleams with each configuration tip! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR description includes the mandatory 'What does this PR do?' section with clear context, but the 'Why is it important?' section is empty (marked with '-'), which is required per template. Complete the 'Why is it important?' section to explain the rationale and impact of not enforcing policies for admins beyond the context already provided in the 'What' section.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: disabling policy enforcement for administrators in repository settings.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bugfix/configure-repo

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
.github/CODEOWNERS (1)

5-7: Minor: Comment references "OSS maintainers" but owner is dotnet-team.

The comment on line 5 mentions "OSS maintainers" but the actual CODEOWNERS entry on line 7 assigns ownership to @testcontainers/dotnet-team. Consider updating the comment for consistency:

📝 Suggested comment update
-# Documentation can additionally be reviewed by OSS maintainers.
+# Documentation can additionally be reviewed by dotnet-team members.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/CODEOWNERS around lines 5 - 7, Update the top comment in the
CODEOWNERS block so it references the actual owner group instead of "OSS
maintainers": change the phrase mentioning "OSS maintainers" to reference
`@testcontainers/dotnet-team` (or a neutral phrasing like "maintainers") to align
the comment with the CODEOWNERS entry; look for the comment near the CODEOWNERS
header and the entry that assigns /docs/ to `@testcontainers/dotnet-team` and make
the wording consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In @.github/CODEOWNERS:
- Around line 5-7: Update the top comment in the CODEOWNERS block so it
references the actual owner group instead of "OSS maintainers": change the
phrase mentioning "OSS maintainers" to reference `@testcontainers/dotnet-team` (or
a neutral phrasing like "maintainers") to align the comment with the CODEOWNERS
entry; look for the comment near the CODEOWNERS header and the entry that
assigns /docs/ to `@testcontainers/dotnet-team` and make the wording consistent.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: fbcfb800-7af0-4dca-a6d2-b34e2314a6d5

📥 Commits

Reviewing files that changed from the base of the PR and between e5e561c and ac8cc8c.

📒 Files selected for processing (2)
  • .github/CODEOWNERS
  • .github/settings.yml

@HofmeisterAn HofmeisterAn merged commit 83eefb8 into develop Mar 7, 2026
13 checks passed
@HofmeisterAn HofmeisterAn deleted the bugfix/configure-repo branch March 7, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore A change that doesn't impact the existing functionality, e.g. internal refactorings or cleanups

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant