Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-38546

Automatically label new unlabeled pull requests with foundation/corporation/external contribution

    XMLWordPrintable

Details

    • Notable changes
    • Hide
      From now on, incoming pull request will automatically get one of the following labels:
      * MariaDB Foundation: if the autor is part of the MariaDB foundation staff team
      * MariaDB Corporation : if the author is part of the MariaDB developers team and is not a part of the MariaDB foundation staff team
      * External Contribution: if neither of the above is true.
      Show
      From now on, incoming pull request will automatically get one of the following labels: * MariaDB Foundation: if the autor is part of the MariaDB foundation staff team * MariaDB Corporation : if the author is part of the MariaDB developers team and is not a part of the MariaDB foundation staff team * External Contribution: if neither of the above is true.

    Description

      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 Foundation" is assigned.
      If they are in neither staff not 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.

      See https://docs.github.com/en/rest/orgs/members?apiVersion=2022-11-28 for details.

      Attachments

        Activity

          People

            gkodinov Georgi Kodinov
            gkodinov Georgi Kodinov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.