Skip to content

Update ast-grep rules to use the latest version - #425

Merged
skejserjensen merged 3 commits into
mainfrom
dev/update-ast-grep
Aug 25, 2026
Merged

Update ast-grep rules to use the latest version#425
skejserjensen merged 3 commits into
mainfrom
dev/update-ast-grep

Conversation

@skejserjensen

@skejserjensen skejserjensen commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Update the ast-grep rules so they work with the latest version of ast-grep to fix #192. The ast-grep GitHub Action has also been updated to always use the latest version of ast-grep.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates ast-grep rules and workflow configuration for compatibility with newer releases.

Changes:

  • Adds #[property_test] support to test naming checks.
  • Updates punctuation matching.
  • Removes the pinned ast-grep version from CI.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Summary
rules/test_not_named_test.yml Adds property-test attribute support.
rules/missing_punctuation.yml Adjusts punctuation matching.
.github/workflows/ast-grep-scan.yml Critical issue: latest is not a valid action reference, so the scan job will fail. Use a valid ref such as @v1.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ast-grep-scan.yml Outdated
Comment thread .github/workflows/ast-grep-scan.yml Outdated
@skejserjensen
skejserjensen merged commit 32a960a into main Aug 25, 2026
5 checks passed
@skejserjensen
skejserjensen deleted the dev/update-ast-grep branch August 25, 2026 11:35
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.

Update missing_puncation.yml for latest ast-grep

4 participants