-
Notifications
You must be signed in to change notification settings - Fork 9
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
Run less in CI #310
base: main
Are you sure you want to change the base?
Run less in CI #310
Conversation
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.
Amazing 🤩
.github/workflows/notebooks_test.yml
Outdated
@@ -8,6 +8,7 @@ on: | |||
|
|||
jobs: | |||
build: | |||
if: '! github.event.pull_request.draft' |
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.
ChatGPT tells me it should be [ready-for-review]
😉
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.
I don't think you should put such critical business decisions in the hands of AI. It makes stuff up.
The event is called ready_for_review
(i.e. with underscores)
We tried that before, ready_for_review
is an event that happens once, which might be good enough, but what if you start changing stuff based on the review, then this event is a bit too early.
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.
How about this?
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
jobs:
your_job:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
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.
Seems to work - the notebook test started
No description provided.