-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[core] Automate cherry-pick of PRs from next
-> master
#41741
Conversation
Netlify deploy previewhttps://deploy-preview-41741--material-ui.netlify.app/ Bundle size report |
if: ${{ contains(github.event.pull_request.labels.*.name, 'needs cherry-pick') && github.event.pull_request.merged == true }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mnajdova is there a reason to use the commit hash notation instead of using the version tag?
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
uses: actions/[email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has a great write up on the matter: https://blog.rafaelgss.dev/why-you-should-pin-actions-by-commit-hash
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, it's a nice contribution! I will update our guide to include adding this label if the PR needs to be cherry-picked.
Awesome first PR! 🤝 |
Nice 👌 |
As @oliviertassinari suggested, this PR adds a GitHub Action to automate cherry-picking PRs from
next
tomaster
(see Olivier's comment to see how it works). The code is an exact copy from MUI X (thanks @MBilalShafi !).cc @danilo-leal