Skip to content

ci: run ast-grep on pull requests - #29

Merged
furedea merged 1 commit into
mainfrom
ci/add-ast-grep
Nov 17, 2026
Merged

furedea merged 1 commit into
mainfrom
ci/add-ast-grep

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

概要

共有の ast-grep reusable workflow (v1.5.0) を CI に追加し,all-green の needs に含めます.

  • furedea/agent-config の ast-grep ルールを,PR の追加行のみに適用します(reviewdog,-filter-mode=added).
  • push イベントではスキャンせず成功します.既存コードには触れません.

Refs furedea/agent-config#169

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@furedea

furedea commented Nov 17, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T09:02:19.221992Z 5b1267a Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

Review summary

Nothing to flag. I found no correctness, security or missing-test problems in this change.

  • The new ast-grep job calls the reusable workflow pinned to a full commit SHA (v1.5.0), the same way the other reusable-workflow jobs here do.
  • It only gets contents: read and pull-requests: read, and the workflow-level permission is permissions: {}, so the job can't write anything.
  • all-green now lists ast-grep in needs, so a failed or skipped scan blocks the merge.
  • Tests aren't needed because this is a CI-only change.

One thing I couldn't check: I wasn't able to read ast-grep.yml at that SHA. If the called workflow asks for more permissions than these two read scopes, the run will fail at startup. If this PR's own CI run passes, that's not a problem.

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 5b1267a450

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@furedea
furedea merged commit c2c714f into main Nov 17, 2026
19 checks passed
@furedea
furedea deleted the ci/add-ast-grep branch November 17, 2026 12:57
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.

1 participant