Skip to content

Install prek hooks in copilot-setup-steps workflow#1703

Merged
nathanjmcdougall merged 2 commits intomainfrom
copilot/update-gh-actions-prek-install
Apr 1, 2026
Merged

Install prek hooks in copilot-setup-steps workflow#1703
nathanjmcdougall merged 2 commits intomainfrom
copilot/update-gh-actions-prek-install

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

The Copilot agent wasn't running prek checks before committing because git hooks were never installed in the dev environment setup.

  • Add uv run prek install step after uv sync in copilot-setup-steps.yml so pre-commit hooks are active for the agent's git operations

Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/4eed9dc2-47b3-4d9e-a2f0-3fc9fd094633

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot AI changed the title [WIP] Update copilot setup to run prek install in dev environment Install prek hooks in copilot-setup-steps workflow Apr 1, 2026
Copilot AI requested a review from nathanjmcdougall April 1, 2026 10:05
@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review April 1, 2026 10:10
@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-gh-actions-prek-install (cc19c55) with main (1c60f86)

Open in CodSpeed

@nathanjmcdougall nathanjmcdougall merged commit b7333b0 into main Apr 1, 2026
22 checks passed
@nathanjmcdougall nathanjmcdougall deleted the copilot/update-gh-actions-prek-install branch April 1, 2026 10:21
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.

Try to install prek in the copilot dev environment

2 participants