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

Automate PR review assignment with CODEOWNERS #262

Merged
merged 1 commit into from Aug 27, 2023

Conversation

MarkEWaite
Copy link
Contributor

Add CODEOWNERS to request reviews on code changes

GitHUb documentation describes how CODEOWNERS automates the assignment of pull request reviewers based on file naming patterns.

Created with OpenRewrite command:

$ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
      -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jenkins:RELEASE \
      -Drewrite.activeRecipes=org.openrewrite.jenkins.github.AddTeamToCodeowners

Testing done

Confirmed in other repositories that the CODEOWNERS file is a helpful addition. Rely on GitHub to check the validity of the CODEOWNERS file during the pull request review process.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@MarkEWaite MarkEWaite added the chore Reduces maintenance effort by changes not directly visible to users label Aug 27, 2023
@MarkEWaite MarkEWaite merged commit d8f614f into jenkinsci:master Aug 27, 2023
17 checks passed
@MarkEWaite MarkEWaite deleted the add-CODEOWNERS branch August 27, 2023 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Reduces maintenance effort by changes not directly visible to users
Projects
None yet
1 participant