Skip to content

Skip test-docs job when PR contains release-notes label#11291

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/docs-skip-release-note
Mar 4, 2022
Merged

Skip test-docs job when PR contains release-notes label#11291
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/docs-skip-release-note

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Mar 3, 2022

Description

Let test-docs run when PR doesn't contain release-notes label.

Documentation

(x) No documentation is needed.

Release notes

(x) No release notes entries required.

@ebyhr ebyhr requested review from findepi and hashhar March 3, 2022 06:09
@findepi
Copy link
Copy Markdown
Member

findepi commented Mar 3, 2022

Let test-docs run

Let test-docs run, or skip test-docs run? I think I'm confused.

BTW what's the rationale for the change, unless it's obvious?

@ebyhr
Copy link
Copy Markdown
Member Author

ebyhr commented Mar 4, 2022

@findepi "Let test-docs run" is the expected message. We could rephrase it as: "Let test-docs skip when PR contains release-notes label". The motivation is reducing CI queue more as we use the label only for release notes PR that doesn't require the tests at this time. https://github.com/trinodb/trino/pulls?q=is%3Apr+label%3Arelease-notes

Copy link
Copy Markdown
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

Makes sense to me, we still run the doc checks, just skip the other trino modules.

Maybe Skip test-docs job when PR contains release-notes label with some context in body that it's safe to do since docs-checks would still run?

The label is used only for release notes that don't
require tests. Another docs-checks job to verify
"trino-docs" module would still run.
@ebyhr ebyhr force-pushed the ebi/docs-skip-release-note branch from 83ca864 to 58dfcf4 Compare March 4, 2022 07:16
@cla-bot cla-bot bot added the cla-signed label Mar 4, 2022
@ebyhr ebyhr changed the title Let test-docs run when PR doesn't contain release-notes label Skip test-docs job when PR contains release-notes label Mar 4, 2022
@ebyhr ebyhr merged commit d1ff515 into trinodb:master Mar 4, 2022
@ebyhr ebyhr deleted the ebi/docs-skip-release-note branch March 4, 2022 11:18
@github-actions github-actions bot added this to the 373 milestone Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants