Skip to content

Don't run PR tests on docs-only changes - #1504

Open
Tim Hockin (thockin) wants to merge 1 commit into
agent-substrate:mainfrom
thockin:action_not_on_docs
Open

Don't run PR tests on docs-only changes#1504
Tim Hockin (thockin) wants to merge 1 commit into
agent-substrate:mainfrom
thockin:action_not_on_docs

Conversation

@thockin

Copy link
Copy Markdown
Collaborator

I've seen a few PRs which are just wasting CI time.

I don't know if this actually WORKS, of course...

@BenTheElder

Copy link
Copy Markdown
Collaborator

You can leave CI broken this way, if you're not careful.

e2e: sure

verify? ... one spelling linter and then CI is wedged on the next PR because we skipped it.

@thockin

Copy link
Copy Markdown
Collaborator Author

I'm just looking for a simple path to not waste time.

@BenTheElder

Copy link
Copy Markdown
Collaborator

Can we configure this per job? so we skip e2e and run the linters or something?

@thockin

Copy link
Copy Markdown
Collaborator Author

Seems like no, only the inverse (run job when **/*.go is touched) - that seems even more brittle

@BenTheElder

Copy link
Copy Markdown
Collaborator

Seems like no, only the inverse (run job when **/*.go is touched) - that seems even more brittle

Yes. strongly discourage that even more.

What if we split the workflow into two?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants