Repository navigation
Conversation
Import the latest canonical pre-commit configuration. This refreshes several frozen hook revisions (ruff, basedpyright, gha-workflow-linter, check-jsonschema) and adds the standard CI skip and commit-message settings used across the action repositories. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
There was a problem hiding this comment.
Pull request overview
Updates this repository’s .pre-commit-config.yaml to match the latest “canonical” action-repo baseline, refreshing pinned hook SHAs and expanding validation coverage (notably for GitHub Actions workflows and ReadTheDocs config), while also standardizing pre-commit.ci behavior and commit messages.
Changes:
- Refreshes pinned hook revisions (e.g.,
ruff-pre-commitfrozen to v0.15.17). - Adds a standard
ci:block (skipgha-workflow-linterin pre-commit.ci sandbox; standardized signed-off autofix/autoupdate commit messages). - Adds new hooks:
basedpyright,gha-workflow-linter, andcheck-jsonschema(including a timeout-minutes requirement check for workflows, plus RTD config validation).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The check-github-actions schema requires input default values to be strings. Quote the publish_disable, attestations, and no_checkout defaults; behaviour is unchanged since GitHub coerces these values to strings during comparison. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
tykeal
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the pre-commit configuration to the latest canonical version
used across the action repositories, and fixes an issue the stricter
hooks surface.
Pre-commit configuration
ruff-pre-commit→ v0.15.17basedpyright-prek-mirror→ 1.39.8gha-workflow-linter→ v1.1.1check-jsonschema→ 0.37.3ci:block (skipgha-workflow-linterin thepre-commit.ci sandbox, plus signed-off autofix/autoupdate commit
messages).
basedpyright,gha-workflow-linter, andcheck-jsonschemahooks (GitHub Actions/Workflows validation, timeout-minutes check, and
ReadTheDocs config validation).
Required fix
default:values for thepublish_disable,attestations, andno_checkoutinputs inaction.yaml. Thecheck-github-actionsschema requires string defaults; behaviour isunchanged since GitHub already coerces these to strings.
This supersedes the automated pre-commit.ci autoupdate PR.