Skip to content

Commit 74ff224

Browse files
committed
chore: update pre-commit config source to images repo
1 parent c0b4940 commit 74ff224

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Agents are authorized to push directly to `main` in this repository.
1010

1111
## Pre-commit Configuration
1212

13-
Pre-commit configuration is **centralized** in `makeitworkcloud/shared-workflows/tfroot-pre-commit-config.yaml`. The CI workflow fetches this config at runtime.
13+
Pre-commit configuration is **centralized** in `makeitworkcloud/images/tfroot-runner/pre-commit-config.yaml`. The CI workflow fetches this config at runtime.
1414

1515
**Do not** create or modify `.pre-commit-config.yaml` in this repository.
1616

@@ -33,5 +33,5 @@ This repo uses the shared `opentofu.yml` workflow from `shared-workflows`. It ru
3333

3434
## Related Repositories
3535

36-
- `images` - Contains tfroot-runner image
36+
- `images` - Contains tfroot-runner image and canonical pre-commit config
3737
- `shared-workflows` - Contains the reusable OpenTofu workflow and canonical pre-commit config

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ test: .pre-commit-config.yaml .git/hooks/pre-commit
6060

6161
.pre-commit-config.yaml:
6262
@curl -sSL -o .pre-commit-config.yaml \
63-
https://raw.githubusercontent.com/makeitworkcloud/shared-workflows/main/tfroot-pre-commit-config.yaml
63+
https://raw.githubusercontent.com/makeitworkcloud/images/main/tfroot-runner/pre-commit-config.yaml
6464

6565
DEPS_PRE_COMMIT=$(shell which pre-commit || echo "pre-commit not found")
6666
DEPS_TERRAFORM_DOCS=$(shell which terraform-docs || echo "terraform-docs not found")

0 commit comments

Comments
 (0)