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

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

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

ebyhr
Copy link
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 hashhar and findepi March 3, 2022 06:09
@findepi
Copy link
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
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
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