Skip to content

Conversation

@gkodinov
Copy link
Member

@gkodinov gkodinov commented Jan 12, 2026

The MariaDB server repository uses certain pull request labels as queue markers
for incoming pull requests as follows:

  • External Contribution: for all external contributions
  • MariaDB Corporation: for employees of the MariaDB corporation
  • MariaDB Foundation: for the employees of the MariaDB foundation

Right now, when a new pull request is filed, these tags need to be applied
manually.
However a large % of these manual assignments can be automated by checking
if the author is in https://github.com/orgs/MariaDB/teams/staff
or in https://github.com/orgs/MariaDB/teams/developers.

If they are in staff "MariaDB Foundation" is assigned.

if they are not in staff, but are in developers, "MariaDB Corporation" is assigned.

If they are in neither staff nor developers, "External Contribution" is assigned.

A github workflow is created to do the assignments. It is being triggered
every day at 2AM. Or it can be triggered manually.

This is stage1 of the fix: it is read only and only prints the changes needed

@gkodinov gkodinov added the MariaDB Foundation Pull requests created by MariaDB Foundation label Jan 12, 2026
@gkodinov
Copy link
Member Author

See https://github.com/gkodinov/test-github-actions: this is my test repo

@gkodinov gkodinov self-assigned this Jan 12, 2026
@gkodinov gkodinov requested a review from svoj January 12, 2026 14:28
@gkodinov gkodinov assigned svoj and unassigned gkodinov Jan 12, 2026
Copy link
Member

@grooverdan grooverdan left a comment

Choose a reason for hiding this comment

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

suggestion only. Otherwise fine.

@gkodinov
Copy link
Member Author

gkodinov commented Jan 13, 2026 via email

@gkodinov gkodinov force-pushed the 10.6-mdev-38456 branch 2 times, most recently from 23cb987 to 8e8535c Compare January 14, 2026 13:43
 with foundation/corporation/external contribution

The MariaDB server repository uses certain pull request labels as queue markers
 for incoming pull requests as follows:
- External Contribution: for all external contributions
- MariaDB Corporation: for employees of the MariaDB corporation
- MariaDB Foundation: for the employees of the MariaDB foundation

Right now, when a new pull request is filed, these tags need to be applied
manually.
However a large % of these manual assignments can be automated by checking
if the author is in https://github.com/orgs/MariaDB/teams/staff
or in https://github.com/orgs/MariaDB/teams/developers.

If they are in staff "MariaDB Foundation" is assigned.

if they are not in staff, but are in developers, "MariaDB Corporation" is assigned.

If they are in neither staff nor developers, "External Contribution" is assigned.

A github workflow is created to do the assignments. It is being triggered
every day at 2AM. Or it can be triggered manually.

This is stage1 of the fix: it is read only and only *prints* the changes needed
@gkodinov gkodinov changed the title MDEV-38546: Copy the label from the last pull request by MDEV-38546: Automatically assign labels to lablesess PRs Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Foundation Pull requests created by MariaDB Foundation

Development

Successfully merging this pull request may close these issues.

5 participants