name: Create cherry-pick PR
on:
  pull_request_target:
    branches:
      - 'v*.x'
      - 'master'
    types: ['closed']

permissions: {}

jobs:
  create_pr:
    name: Create cherry-pick PR
    uses: mui/mui-public/.github/workflows/prs_create-cherry-pick-pr.yml@master
    permissions:
      contents: write
      pull-requests: write
