From 03e7e5533ff648e5589ab55c1615275ced7ad575 Mon Sep 17 00:00:00 2001 From: Gerard Rovira Date: Fri, 19 Dec 2025 10:42:11 -0500 Subject: [PATCH] Agent docs -- GitHub actions --- AGENTS.md | 23 +++ docs/README.md | 33 ++++ docs/github-actions.md | 345 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 401 insertions(+) create mode 100644 docs/README.md create mode 100644 docs/github-actions.md diff --git a/AGENTS.md b/AGENTS.md index 2c46a62d1b8..5f6226b06a7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,6 +2,12 @@ This file provides detailed guidance for AI agents and automated tools working with the Lexical codebase. +## Documentation + +For specialized topics, see the [`docs/`](./docs/) directory: + +- **[GitHub Actions Security & Architecture](./docs/github-actions.md)** - Guidelines for CI/CD workflows, security practices, permissions, and secrets management + ## Build, Test, and Development Commands ### Building @@ -130,6 +136,23 @@ When adding/modifying APIs, types must be maintained for both systems. ## Important Development Notes +### Package Manager Usage + +This repository uses different package managers for different contexts: + +**Development and CI workflows** - Use `pnpm`: +- The monorepo is managed with pnpm workspaces +- All CI/CD workflows use pnpm +- Run `pnpm install` to install dependencies +- Run `pnpm run