Skip to content

Don't run CI checks when only modifying the hooks dir#1847

Merged
nathanjmcdougall merged 2 commits into
mainfrom
copilot/update-ci-checks-for-hooks-dir
Apr 7, 2026
Merged

Don't run CI checks when only modifying the hooks dir#1847
nathanjmcdougall merged 2 commits into
mainfrom
copilot/update-ci-checks-for-hooks-dir

Conversation

Copilot AI commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

CI workflows were unnecessarily triggered on changes to hooks/ — only the static-checks workflow needs to run on those changes.

Changes

Added "hooks/**" to paths-ignore in the workflows that don't need to run on hook-only changes:

  • codecov.yml
  • codeql.yml
  • codspeed.yml
  • zizmor.yml

test.yml already had this exclusion; static-checks.yml is intentionally left unchanged so it continues to validate hook scripts.

Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/497a0d7e-b342-44aa-8d2c-832625c9d726

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot AI changed the title [WIP] Update CI checks to only trigger static checks for hooks dir changes Don't run CI checks when only modifying the hooks dir Apr 7, 2026
Copilot AI requested a review from nathanjmcdougall April 7, 2026 07:01
@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review April 7, 2026 07:02
@codecov

codecov Bot commented Apr 7, 2026

Copy link
Copy Markdown

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

codspeed-hq Bot commented Apr 7, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing copilot/update-ci-checks-for-hooks-dir (41852cb) with main (acd3d4e)

Open in CodSpeed

@nathanjmcdougall nathanjmcdougall merged commit b89fc69 into main Apr 7, 2026
20 checks passed
@nathanjmcdougall nathanjmcdougall deleted the copilot/update-ci-checks-for-hooks-dir branch April 7, 2026 07: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 run CI checks when only modifying the hooks dir

2 participants