-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Adding Merge Queue Support #8991
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
base: dev
Are you sure you want to change the base?
Changes from all commits
93f0330
a84b424
1448a43
8f8fa8f
de36fee
c5b6c49
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,19 +7,13 @@ on: | |
| - dev | ||
| - main | ||
| - releasing/* | ||
| paths-ignore: # skip if only docs are modified | ||
| - '**.md' | ||
| - '**.rst' | ||
| - 'docs/**' | ||
| pull_request: | ||
| branches: | ||
| - dev | ||
| - main | ||
| - releasing/* | ||
| paths-ignore: # skip if only docs are modified | ||
| - '**.md' | ||
| - '**.rst' | ||
| - 'docs/**' | ||
| merge_group: # needed for merge queue | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This adds the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't honestly know, we might have to see if it goes through or adjust our branch rules. The DCO, pre-commit, and other checks don't need to be run again in the queue, only code that's gotten through a PR is in the queue, so it would be good to exclude them. |
||
| types: [checks_requested] | ||
|
|
||
| concurrency: | ||
| # automatically cancel the previously triggered workflows when there's a newer version | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,6 +17,8 @@ on: | |
| pull_request: | ||
| # The branches below must be a subset of the branches above | ||
| branches: [ dev ] | ||
| merge_group: # needed for merge queue | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This workflow is currently disabled on the repository (
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is in another PR I'm working on. |
||
| types: [checks_requested] | ||
| schedule: | ||
| - cron: '18 1 * * 0' | ||
|
|
||
|
|
||
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.
Removing
paths-ignoremeans every documentation-only PR now triggers the full test matrix (min-dep across OS/Python/PyTorch combinations, full-dep, and packaging). Note that themerge_grouptrigger does not use path filters, so this removal is not required for merge queue support. Could you confirm the CI cost increase is intentional, and whether a lighter-weight always-required job could preserve the doc-skip behavior while still satisfying the required check?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.
When the doc-only PRs come through the actions don't run at all so don't get counted as passing either. This is to re-enable these until I work on a better solution involving a script to filter things and predicate actions on its output.