-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Check if PR base is develop #1460
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
Check if PR base is develop #1460
Conversation
Thomas-Boi
left a comment
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.
The PR looks good to me 👍 Code is clean and easy to read. Thank you for working on this feature, this used to happen a lot back then 😆
|
Some PR checks are being skipped, will double check if it's something that needs to be fixed or not. |
|
@lunatic-fox hmm, yeah that sounds like a better idea! |
|
I saw the big picture of this workflow and I think there are issues to my idea. If this step is Since this workflow is triggered by a pull request, I'm afraid that it will run just once. It's possible to make this step return a message to Your idea doesn't break the workflow, which is nice, even talking about a major error, because at the end we will have the full report of what is going on with the PR. Tell me what you think. 😀 |
|
@lunatic-fox no your idea is fine since You can read more about on: pull-request here. |
Input
if: ${{ !env.wrong_branch }}WarningAs far as I see, we can't just simply use the |
8056319 to
d042880
Compare
This reverts commit aad0532.
|
whoops, force pushed on accident, but didn't do anything other than revert my own changes. |
|
@lunatic-fox Alright, tested and it looks fine now :) Please review it when you have time 🙇 |
lunatic-fox
left a comment
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.
Approved! ✔
A great feature on the way! 🚀
* Check if PR base is develop fix devicons#1458 * Add PR base checker * Revert "Check if PR base is develop" This reverts commit aad0532. Co-authored-by: Josélio Júnior <76992016+lunatic-fox@users.noreply.github.com>






Double check these details before you open a PR
Features
Check if the base branch is

develop, and post a PR message if it's not.This PR closes #1458
Notes
Needs to be committed into master before working. Committing it to develop might leave it in a non-working state.Therefore I recommend waiting until the next release, and merging this in just before the next release.
This is no longer the case, since we didn't have to make any breaking changes to the script after all, thanks to @lunatic-fox's brilliant implementation 💯