Skip to content

Commit a2caeca

Browse files
committed
Exclude LLM tool config files and .claude/ from GH Pages deployment
Downstream repos may contain CLAUDE.md, AGENTS.md, .cursor/, .windsurfrules, and other LLM tool configuration files. These have no place on GitHub Pages and could unintentionally expose agent instructions. Remove them (along with the already-excluded .transforms-sandbox) in the pre-upload cleanup step.
1 parent e60dc0e commit a2caeca

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/validate-and-process.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ jobs:
253253
sudo find "${{ inputs.annotated_path }}" -name _visited_properties.tsv -delete || true
254254
sudo find "${{ inputs.annotated_path }}" -name _visited_properties.tsv.gz -delete || true
255255
rm -rf .transforms-sandbox
256+
# Remove LLM tool configuration files
257+
rm -rf .claude CLAUDE.md AGENTS.md GEMINI.md .cursor .cursorrules .windsurfrules .ruler .continue
258+
find . -maxdepth 1 -name '.aider*' -exec rm -rf {} + || true
256259
- name: Deploy Building Blocks viewer
257260
id: deploy-viewer
258261
if: ${{ inputs.deploy_viewer }}

0 commit comments

Comments
 (0)