Skip to content

chore: remove team assignment from codeowners - #27573

Merged
liamdebeasi merged 1 commit into
mainfrom
liamdebeasi-patch-2
May 30, 2023
Merged

liamdebeasi merged 1 commit into
mainfrom
liamdebeasi-patch-2

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented May 30, 2023 •

Copy link
Copy Markdown
Contributor

Issue number: N/A


What is the current behavior?

PRs are first assigned to the team before being assigned to a single team member. This causes reviews to show up https://github.com/notifications for everyone even if they are not the final reviewer.

What is the new behavior?

  • GitHub automatically assigns reviewers now, so I removed the global Framework team codeowner. All PRs in this repo should have a team member automatically assigned.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@liamdebeasi
liamdebeasi marked this pull request as ready for review May 30, 2023 18:13
@liamdebeasi
liamdebeasi requested a review from a team as a code owner May 30, 2023 18:13
@liamdebeasi
liamdebeasi requested review from brandyscarney and sean-perkins and removed request for a team and brandyscarney May 30, 2023 18:13
@liamdebeasi
liamdebeasi added this pull request to the merge queue May 30, 2023
Merged via the queue into main with commit 4ddb0a9 May 30, 2023
@liamdebeasi
liamdebeasi deleted the liamdebeasi-patch-2 branch May 30, 2023 19:08
liamdebeasi added a commit that referenced this pull request Nov 28, 2023
I noticed that Dependabot PRs never had anyone assigned: #28586

The reason was that we removed `* @ionic-team/framework` when we adjusted the codeowners in #27573. 

My original reasoning for why we should remove it was wrong. GitHub only assigns reviewers within a team if the team itself is assigned. By removing the team from being reviewed, only people listed in the codeowners file would be assigned. As an added example, PRs that do not match codeowners currently have no one assigned: #28430
github-merge-queue Bot pushed a commit that referenced this pull request Nov 28, 2023
I noticed that Dependabot PRs never had anyone assigned:
#28586

The reason was that we removed `* @ionic-team/framework` when we
adjusted the codeowners in
#27573.

My original reasoning for why we should remove it was wrong. GitHub only
assigns reviewers within a team if the team itself is assigned. By
removing the team from being reviewed, only people listed in the
codeowners file would be assigned. As an added example, PRs that do not
match codeowners currently have no one assigned:
#28430
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