Skip to content

Conversation

@Torch3333
Copy link
Contributor

@Torch3333 Torch3333 commented May 26, 2025

Description

#2681 sets up a CODEOWNERS file to automatically assign the ScalarDB team as reviewers to any pull request created.
This was introduced primarily to assign reviewers for PR created by Dependabot.
However, setting up CODEOWNERS also assigns reviewers for the backport PR, which is not wanted.
Instead, we create a GitHub action to assign reviewers only for PRs created by Dependabot.

Related issues and/or PRs

Changes made

  • Add action to assign reviewer to PR that Dependabot creates
  • Remove the codeowner file

Checklist

The following is a best-effort checklist. If any items in this checklist are not applicable to this PR or are dependent on other, unmerged PRs, please still mark the checkboxes after you have read and understood each item.

  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes.
  • I have considered whether similar issues could occur in other products, components, or modules if this PR is for bug fixes.
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
  • Tests (unit, integration, etc.) have been added for the changes.
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published.

Additional notes (optional)

N/A

Release notes

N/A

@Torch3333 Torch3333 changed the title Add action to assign review on PR created by Dependabot Add GitHub action to assign reviewers on PR created by Dependabot May 26, 2025
@Torch3333 Torch3333 self-assigned this May 26, 2025
@Torch3333 Torch3333 marked this pull request as ready for review May 26, 2025 02:41
@Torch3333 Torch3333 requested a review from a team as a code owner May 26, 2025 02:41
Copy link
Contributor

@komamitsu komamitsu left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

Copy link
Collaborator

@brfrn169 brfrn169 left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@brfrn169 brfrn169 added the github_actions Pull requests that update GitHub Actions code label May 26, 2025
Copy link
Contributor

@feeblefakie feeblefakie left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@brfrn169 brfrn169 merged commit 63520eb into master May 27, 2025
55 checks passed
@brfrn169 brfrn169 deleted the action-assign-dependabot-pr branch May 27, 2025 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants