claude-code-action icon indicating copy to clipboard operation
claude-code-action copied to clipboard

Feature request: organization-wide CLAUDE.md file

Open PaulRBerg opened this issue 6 months ago • 3 comments

Be able to configure Claude Code action to read the CLAUDE.md from a specific repository in our organization so that we don't have to duplicate CLAUDE.md content across repositories.

PaulRBerg avatar Aug 19 '25 11:08 PaulRBerg

You can work around that in your CI worklow by executing:

curl {{file-path}} >> CLAUDE.md
grep -qxF 'CLAUDE.md' .git/info/exclude || echo 'CLAUDE.md' >> .git/info/exclude

There is no need for build-in integration.

ad-m-ss avatar Aug 19 '25 13:08 ad-m-ss

asking users to manually include that logic in all of their GitHub workflows is bad UX

Anyway, thanks. It's a good workaround but this is really something that should be provided/thought of by the GitHub action itself

PaulRBerg avatar Aug 19 '25 19:08 PaulRBerg

I want the feature as well. Specifically, I want to manage organization-wide governance instructions for Claude Code. Right now, we have to implement governance instructions in each GitHub repository. If organization-wide instructions for CLAUDE.md is supported, we can centralize the single source of truth for security and governance practices.

yu-iskw avatar Nov 10 '25 02:11 yu-iskw