Skip to content

chore: add foundations team to CODEOWNERS#296

Merged
dianab-cl merged 2 commits into
mainfrom
diana/its-1231-create-foundations-team-and-assign-pr-reviews
Jun 26, 2026
Merged

chore: add foundations team to CODEOWNERS#296
dianab-cl merged 2 commits into
mainfrom
diana/its-1231-create-foundations-team-and-assign-pr-reviews

Conversation

@dianab-cl

Copy link
Copy Markdown
Contributor

Summary

  • Adds @cosmos/foundations-team as a code owner to ensure the foundations team is automatically assigned as reviewers on PRs.

Linked issue

ITS-1231

ITS-1231: Assign PR reviews to foundations team.
@dianab-cl dianab-cl requested a review from a team as a code owner June 25, 2026 12:07
@linear-code

linear-code Bot commented Jun 25, 2026

Copy link
Copy Markdown

ITS-1231

@greptile-apps

greptile-apps Bot commented Jun 25, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates global code ownership for the repository. The main change is:

  • Adds @cosmos/foundations-team as a global CODEOWNERS owner.

Confidence Score: 4/5

The change is small but affects reviewer assignment across the whole repository and needs adjustment before merging.

Only one CODEOWNERS file changed, and the ownership behavior is straightforward to assess.

.github/CODEOWNERS

T-Rex T-Rex Logs

What T-Rex did

  • Reproduced CODEOWNERS behavior for README.md by running a last-match reproduction script against the repository's CODEOWNERS, which showed the line 3 rule with @cosmos/foundations-team won and the existing owner was not preserved.
  • Before and after CODEOWNERS resolution were captured: before the README.md matched the base rule with foundations_team_present: NO, after it matched the head rule with foundations_team_present: YES, and both runs exited with code 0.

View all artifacts

T-Rex Ran code and verified through T-Rex

Reviews (1): Last reviewed commit: "chore: add @cosmos/foundations-team to C..." | Re-trigger Greptile

Comment thread .github/CODEOWNERS
@@ -1 +1,3 @@
** @cosmos/stack-team

** @cosmos/foundations-team

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Preserve existing owners
GitHub applies only the last matching CODEOWNERS pattern, so this second ** entry replaces @cosmos/stack-team instead of adding another reviewer group. For any changed file, only @cosmos/foundations-team will be requested; put both teams on the same ** line to keep the existing owner.

Comment thread .github/CODEOWNERS Outdated
@mergify

mergify Bot commented Jun 25, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@dianab-cl dianab-cl merged commit 8b73579 into main Jun 26, 2026
6 checks passed
@dianab-cl dianab-cl deleted the diana/its-1231-create-foundations-team-and-assign-pr-reviews branch June 26, 2026 08:54
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.

2 participants