Skip to content

Skip CI tests workflow for hooks-only changes#1684

Merged
nathanjmcdougall merged 2 commits intomainfrom
copilot/update-ci-workflow-for-hooks-dir
Apr 1, 2026
Merged

Skip CI tests workflow for hooks-only changes#1684
nathanjmcdougall merged 2 commits intomainfrom
copilot/update-ci-workflow-for-hooks-dir

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

Changes to hooks/ only need static checks (prek), not the full pytest matrix. Added hooks/** to paths-ignore in ci.yml for both push and pull_request triggers.

Changes to the hooks/ directory only need static checks, not the full
pytest test suite. This avoids unnecessary CI runs when modifying
prek hook scripts.

Resolves #1683

Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/7421881d-fb2a-4feb-91b2-528304db0daf

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub tests workflow to skip hooks directory changes Skip CI tests workflow for hooks-only changes Apr 1, 2026
Copilot AI requested a review from nathanjmcdougall April 1, 2026 04:06
@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review April 1, 2026 05:00
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 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!

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 1, 2026

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing copilot/update-ci-workflow-for-hooks-dir (683703b) with main (6343e90)

Open in CodSpeed

@nathanjmcdougall nathanjmcdougall merged commit 6f08f4b into main Apr 1, 2026
20 checks passed
@nathanjmcdougall nathanjmcdougall deleted the copilot/update-ci-workflow-for-hooks-dir branch April 1, 2026 05:10
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 the GitHub tests workflow (ci.yml) if we are only modifying the hooks dir

2 participants