diff --git a/README.md b/README.md index 5c627ba..f85dec7 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ jobs: if: > (github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name == 'issue_comment' && github.event.issue.pull_request != null && + startsWith(github.event.comment.body, '/codeboarding') && contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association)) steps: - uses: CodeBoarding/CodeBoarding-action@v1 diff --git a/action.yml b/action.yml index a142d58..416a3ce 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ -name: 'CodeBoarding Architecture Diff (Mermaid)' -description: 'Posts a PR comment with a Mermaid architecture diagram showing which components changed (green added / yellow modified / red deleted) — nodes and arrows.' +name: 'CodeBoarding Review' +description: 'Visual system-design review on pull requests: a Mermaid diagram of the architectural changes — added, modified, and deleted components and relations.' author: 'CodeBoarding' branding: