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

[infra] Introduce automated cherry-picking workflow #15262

Merged

Conversation

michelengelen
Copy link
Member

@michelengelen michelengelen commented Nov 4, 2024

Changes the workflow to use the automated cherry=pick PR creation process designed in mui/mui-public#217


The new workflow can now automatically create PRs for several types of base-target combinations:

  1. cherry-pick from master to v*.x
    On your PR add the needs-cherry-pick label and one or more target-labels (e.g. v7.x, v6.x). The workflow will create a cherry-pick PR to the highest version branch first (in this case v7.x) and adds the needs cherry-pick label and the remaining target-labels (in this case v6.x) if needed. This makes the workflow "de-facto recursive".
  2. cherry-pick from v*.x to v*.x
    For any PR from a version branch that has the needs-cherry-pick label and target-labels applied the process from option 1 will apply.
  3. cherry-pick from v*.x to master
    For any PR from a version branch that has the needs-cherry-pick label applied this workflow will create a cherry-pick PR targeting master automatically.

As a follow-up to mui/mui-public#217 I will also add a new workflow later this week to apply mui/mui-public#220

@michelengelen michelengelen added the scope: infra Org infrastructure work going on behind the scenes label Nov 4, 2024
@michelengelen michelengelen self-assigned this Nov 4, 2024
@mui-bot
Copy link

mui-bot commented Nov 4, 2024

Deploy preview: https://deploy-preview-15262--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against e1d04a9

@michelengelen michelengelen merged commit 03b17aa into mui:master Nov 5, 2024
20 checks passed
michelengelen added a commit to michelengelen/mui-x that referenced this pull request Nov 5, 2024
michelengelen added a commit to michelengelen/mui-x that referenced this pull request Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: infra Org infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants