Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove team assignment from codeowners #27573

Merged
merged 1 commit into from
May 30, 2023
Merged

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented May 30, 2023

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

@stackblitz
Copy link

stackblitz bot commented May 30, 2023

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