-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
chore(ci): do not run CI on draft PRs unless explicitly run via commit message #17350
Conversation
@@ -201,541 +248,549 @@ const ci = { | |||
submodules: false, | |||
}, | |||
}, | |||
submoduleStep("./test_util/std"), |
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 only change I made below was wrap all the steps in a ...cancelEarlyIfDraftPr(
- name: Clone submodule ./test_util/wpt | ||
run: git submodule update --init --recursive --depth=1 -- ./test_util/wpt | ||
if: matrix.job == 'test' | ||
if: steps.exit_early.outputs.EXIT_EARLY != 'true' && (matrix.job == 'test') |
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.
Again, the output kind of sucks, but we're maintaining the ci.generate.ts file now so this file doesn't matter that much.
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, maybe you could update PR template to indicate how CI can be triggered?
…t message (#17350) This will help us reduce CI time during development. The CI can be explicitly run on draft PRs by adding `[ci]` to the commit message.
…t message (#17350) This will help us reduce CI time during development. The CI can be explicitly run on draft PRs by adding `[ci]` to the commit message.
Tested:
This will help us reduce CI time during development. The CI can be explicitly run on draft PRs by adding
[ci]
to the commit message.