Skip to content
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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Run less in CI #310

wants to merge 5 commits into from

Conversation

ecomodeller
Copy link
Member

No description provided.

@ecomodeller ecomodeller marked this pull request as ready for review December 7, 2023 07:20
@ecomodeller ecomodeller marked this pull request as draft December 7, 2023 07:26
@ecomodeller ecomodeller marked this pull request as ready for review December 7, 2023 08:02
@jsmariegaard jsmariegaard self-requested a review December 7, 2023 09:30
Copy link
Member

@jsmariegaard jsmariegaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing 🤩

@@ -8,6 +8,7 @@ on:

jobs:
build:
if: '! github.event.pull_request.draft'
Copy link
Member

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] 😉

Copy link
Member Author

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.

Copy link
Member

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

Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants