Skip to content

Commit 30b9165

Browse files
committed
refactor: remove local pre-commit config, use centralized config
1 parent 1e7d64c commit 30b9165

File tree

2 files changed

+27
-42
lines changed

2 files changed

+27
-42
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

AGENTS.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Agent Instructions
2+
3+
## Repository Purpose
4+
5+
OpenTofu root module for GitHub organization infrastructure.
6+
7+
## Push Access
8+
9+
Agents are authorized to push directly to `main` in this repository.
10+
11+
## Pre-commit Configuration
12+
13+
Pre-commit configuration is **centralized** in `makeitworkcloud/images/tfroot-runner/pre-commit-config.yaml`. The CI workflow fetches this config at runtime.
14+
15+
**Do not** create or modify `.pre-commit-config.yaml` in this repository.
16+
17+
For local development, run:
18+
```bash
19+
curl -sSL -o .pre-commit-config.yaml \
20+
https://raw.githubusercontent.com/makeitworkcloud/images/main/tfroot-runner/pre-commit-config.yaml
21+
make test
22+
```
23+
24+
## Related Repositories
25+
26+
- `images` - Contains tfroot-runner image and canonical pre-commit config
27+
- `shared-workflows` - Contains the reusable OpenTofu workflow

0 commit comments

Comments
 (0)