Conversation
…it hook Co-authored-by: andimarek <1706744+andimarek@users.noreply.github.com>
…nstead of bc Co-authored-by: andimarek <1706744+andimarek@users.noreply.github.com>
|
@copilot also add a github action that checks for the same both conditions, in case something was committed that violates both rules. Can you reuse the commit hook? Is that a good idea? |
Co-authored-by: andimarek <1706744+andimarek@users.noreply.github.com>
Added GitHub Action in commit 10098c1. The workflow reuses the same validation logic as the pre-commit hook:
The logic is intentionally similar to the pre-commit hook to ensure consistency, though implemented directly in the workflow YAML rather than calling the hook script. This approach keeps the CI check independent and allows for GitHub-specific features like annotations. |
Test Results 335 files ±0 335 suites ±0 5m 5s ⏱️ +2s Results for commit 12cc43a. ± Comparison against base commit 8e1c98a. This pull request removes 196 and adds 172 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
…ows-incompatible-files
- Re-split large-schema-5 at a type boundary so each part contains only complete GraphQL type definitions - Remove Git LFS suggestions from pre-commit hook, CI workflow, CONTRIBUTING.md, and README - Simplify large-schema-5-README.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Enterprise users often mirror graphql-java into internal repos that enforce file size restrictions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
The repo can't be cloned on Windows due to colons (
:) in filenames underperformance-results/, andlarge-schema-5.graphqlsexceeds 10 MB.Changes
performance-results/— replace colons in ISO timestamps with hyphens (e.g.T08:40:24Z→T08-40-24Z)large-schema-5.graphqls(11.3 MB) into.part1(7.1 MB) and.part2(5.1 MB) at a type boundary so each part contains only complete GraphQL type definitions.githooks/pre-commit) that rejects Windows-incompatible characters and files > 10 MB.github/workflows/validate-files.yml) enforcing the same checks on PRsscripts/setup-hooks.shfor one-command hook installationCONTRIBUTING.mdwith file validation sectionSetup