Skip to content

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

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 に加えます.

  • PR の追加行のみに furedea/agent-config の ast-grep ルールを適用します(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:03:57.869403Z f2f41e1 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: no blocking findings.

The new ast-grep job calls the reusable workflow pinned to commit c2cf0e8 (v1.5.0), with explicit least-privilege permissions (contents: read, pull-requests: read). It's added to all-green.needs correctly, so if it fails or is skipped, all-green fails.

One thing I couldn't check: whether the reusable workflow's reviewdog reporter only needs read permissions. If it posts review comments or check runs, it would also need pull-requests: write or checks: write. That would show up as a failing ast-grep job on this PR, so it's worth confirming the job passes before merging.

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: f2f41e1939

ℹ️ 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 48b4ff1 into main Nov 17, 2026
19 checks passed
@furedea
furedea deleted the ci/add-ast-grep branch November 17, 2026 12: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.

1 participant