Skip to content

Only allow dotCMS members to invoke claude from core #416

@sfreudenthaler

Description

@sfreudenthaler

User Story

Important note here. As I was working on the issue of enabling claude code for dotCMS/core-workflow-test I realized there was a potential abuse vector that I should close. Because it's a public repo anyone can come in from the Internet and comment with "@claude", doing that would trigger GitHub workflows and effectively spend some consumables and get up under our name.

The proposed fix that needs implementation is to add a check for the GitHub user that is making the comment and they should have to be in our dotCMS GitHub org.

Acceptance Criteria

Only members of the dotcms github organization should be able to successfully invoke the https://github.com/dotCMS/core-workflow-test/blob/main/.github/workflows/issue_comment_claude-code-review.yaml workflow

Proposed Objective

Security & Privacy

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions