Skip to content

Skip codecov and codspeed workflows for doc-only changes#1456

Merged
nathanjmcdougall merged 2 commits intomainfrom
copilot/fix-codecov-codspeed-trigger
Mar 22, 2026
Merged

Skip codecov and codspeed workflows for doc-only changes#1456
nathanjmcdougall merged 2 commits intomainfrom
copilot/fix-codecov-codspeed-trigger

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 22, 2026

Codecov and codspeed workflows were running on documentation-only PRs (e.g. README changes), wasting CI resources.

  • Updated paths-ignore in codecov.yml and codspeed.yml to match the patterns already used by codeql.yml and zizmor.yml:
    paths-ignore:
      - "docs/**"
      - "**/*.md"
      - "mkdocs.yml"
  • This replaces the narrower AGENTS.md / .agents/**/*.md entries, which are subsumed by **/*.md.
Original prompt

This section details on the original issue you should resolve

<issue_title>Don't trigger codecov and codspeed for doc only changes</issue_title>
<issue_description>In #1452 we're just changing the README so it shouldn't be necessary.</issue_description>

Comments on the Issue (you are @copilot in this section)


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Update paths-ignore in codecov.yml and codspeed.yml to include
docs/** and **/*.md, matching codeql.yml and zizmor.yml patterns.
This prevents unnecessary CI runs for documentation-only PRs.

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/3e5d9d7f-e8a2-44be-9f91-d704c896347c
Copilot AI changed the title [WIP] Fix triggering of codecov and codspeed for doc only changes Skip codecov and codspeed workflows for doc-only changes Mar 22, 2026
Copilot AI requested a review from nathanjmcdougall March 22, 2026 09:11
@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review March 22, 2026 09:42
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 22, 2026

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing copilot/fix-codecov-codspeed-trigger (5a9e6f6) with main (95d1f5c)

Open in CodSpeed

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@nathanjmcdougall nathanjmcdougall merged commit b8281ae into main Mar 22, 2026
20 checks passed
@nathanjmcdougall nathanjmcdougall deleted the copilot/fix-codecov-codspeed-trigger branch March 22, 2026 16:11
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.

Don't trigger codecov and codspeed for doc only changes

2 participants