Skip to content

Conversation

@AdamDeHovitz
Copy link
Contributor

Summary

  • Replace pre-commit/action@v3.0.1 with direct ruff invocation via Makefile
  • Add Makefile with standard targets (deps, check, test) to align with organizational workflow patterns
  • Uses only GitHub-owned actions (actions/checkout, actions/setup-python)

Motivation

The pre-commit/action is not from an enterprise-owned, GitHub-owned, or verified marketplace source. This change brings the workflow into compliance while maintaining the same linting checks.

Test plan

  • Verify lint job passes in CI
  • Run make check locally to confirm ruff checks pass

@AdamDeHovitz AdamDeHovitz force-pushed the ad/replace-precommit-action branch 4 times, most recently from e1b6b4f to 229bb83 Compare January 27, 2026 16:19
The pre-commit/action is not from an enterprise-owned, GitHub-owned,
or verified marketplace source. Replace it by installing and running
pre-commit directly, using only GitHub-owned actions.
@AdamDeHovitz AdamDeHovitz force-pushed the ad/replace-precommit-action branch from 229bb83 to 740d9d7 Compare January 27, 2026 17:42
@AdamDeHovitz AdamDeHovitz merged commit 4c5a40d into main Jan 27, 2026
2 checks passed
@AdamDeHovitz AdamDeHovitz deleted the ad/replace-precommit-action branch January 27, 2026 18:58
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