Skip to content

RHINENG-23998: add codeowners to own all#2088

Merged
MichaelMraka merged 1 commit intoRedHatInsights:masterfrom
TenSt:stepan/RHINENG-23998-update-codeowners-file
Mar 4, 2026
Merged

RHINENG-23998: add codeowners to own all#2088
MichaelMraka merged 1 commit intoRedHatInsights:masterfrom
TenSt:stepan/RHINENG-23998-update-codeowners-file

Conversation

@TenSt
Copy link
Collaborator

@TenSt TenSt commented Mar 4, 2026

Associated Jira ticket: #RHINENG-23998

Based on the latest security requirements all the code inside the repo is required to be approved by codeowners.

Summary by Sourcery

Build:

  • Introduce a .github/CODEOWNERS file to enforce mandatory code owner review for all repository changes.

@sourcery-ai
Copy link

sourcery-ai bot commented Mar 4, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds a new GitHub CODEOWNERS file so that all code in the repository is covered by code owners for mandatory review/approval per security requirements.

File-Level Changes

Change Details Files
Introduce repository-wide CODEOWNERS configuration to require code owner approval for all files.
  • Create a new .github/CODEOWNERS file in the repository.
  • Configure ownership patterns so that all files in the repo are matched by at least one code owner entry, enforcing code-owner review before merges.
.github/CODEOWNERS

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@github-actions
Copy link

github-actions bot commented Mar 4, 2026

SC Environment Impact Assessment

Overall Impact:NONE

No SC Environment-specific impacts detected in this PR.

What was checked

This PR was automatically scanned for:

  • Database migrations
  • ClowdApp configuration changes
  • Kessel integration changes
  • AWS service integrations (S3, RDS, ElastiCache)
  • Kafka topic changes
  • Secrets management changes
  • External dependencies

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • The new .github/CODEOWNERS file is empty in this diff, so it will not enforce any ownership rules; consider adding the appropriate wildcard pattern(s) and owner(s) so the security requirement is actually satisfied.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The new `.github/CODEOWNERS` file is empty in this diff, so it will not enforce any ownership rules; consider adding the appropriate wildcard pattern(s) and owner(s) so the security requirement is actually satisfied.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.45%. Comparing base (d7795d6) to head (e4548a8).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2088   +/-   ##
=======================================
  Coverage   59.45%   59.45%           
=======================================
  Files         134      134           
  Lines        8699     8699           
=======================================
  Hits         5172     5172           
  Misses       2981     2981           
  Partials      546      546           
Flag Coverage Δ
unittests 59.45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MichaelMraka MichaelMraka merged commit cab0992 into RedHatInsights:master Mar 4, 2026
9 checks passed
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.

3 participants