Skip to content

CI, MAINT: Add docs-only option to CI - #26316

Closed
melissawm wants to merge 3 commits into
numpy:mainfrom
melissawm:docs-only-ci
Closed

melissawm wants to merge 3 commits into
numpy:mainfrom
melissawm:docs-only-ci

Conversation

@melissawm

@melissawm melissawm commented Apr 19, 2024 •

Copy link
Copy Markdown
Member

Borrows logic from SciPy CI skip checks implemented by @lucascolley

I will test on my own fork first before marking as ready for review, but if you have corrections or suggestions already please let me know.

See #26311 (comment)

@melissawm melissawm changed the title CI, MAINT: Add docs-only and lint-only options to CI CI, MAINT: Add docs-only option to CI Apr 19, 2024
[skip azp][skip cirrus][skip actions]
jobs:
get_commit_message:
name: Get commit message
uses: ./.github/workflows/commit_message.yml

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This already skips the run if not docs-only, right? Can we encode that into the name?

In general, I think having [docs only] is awesome (a github label might also be, easier to add by maintainer, but a different thing).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Agreed, the naming in SciPy is historical as an existing job was modified.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thought I would ping since I just saw a suggestion to add the three skips we currently need.
Not sure if there is anything else holding it up. But, assuming it works, from my side it seems ready with that rename to clarify what the needs: does below.

@mattip

mattip commented May 30, 2024

Copy link
Copy Markdown
Member

@melissawm ping

@melissawm

Copy link
Copy Markdown
Member Author

Sorry for the delay - these are not working in my fork which is why I'm holding it up. Will try to test again.

@jorenham

jorenham commented Jan 8, 2026

Copy link
Copy Markdown
Member

ping @melissawm

@jorenham jorenham closed this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants