-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Merged by Bors] - Implement From<bool>
for ShouldRun
.
#5306
Conversation
From<bool>
for ShouldRun
.
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.
LGTM
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 implementation is good, but now it makes me wonder why we use ShouldRun
instead of bool in the first place. If the intention was to eventually extend it, this will break the impl if that ever happens.
@IceSentry Run-criteria are kinda cursed. They have the ability to rerun themselves and the systems they control. I doubt we will extend |
Oh, you're right, sorry, it was a bit too early in the morning for me to do a review 😅 |
bors r+ |
This is a good stopgap. I intend to remove the |
Make writing simple yes/no run criteria easier. Co-authored-by: devil-ira <[email protected]>
Timed out. |
bors retry |
Make writing simple yes/no run criteria easier. Co-authored-by: devil-ira <[email protected]>
From<bool>
for ShouldRun
.From<bool>
for ShouldRun
.
Make writing simple yes/no run criteria easier. Co-authored-by: devil-ira <[email protected]>
Make writing simple yes/no run criteria easier. Co-authored-by: devil-ira <[email protected]>
Make writing simple yes/no run criteria easier. Co-authored-by: devil-ira <[email protected]>
Make writing simple yes/no run criteria easier.