Skip to content

Commit c0b4940

Browse files
committed
chore: update pre-commit config source
1 parent 592f6b5 commit c0b4940

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ repos:
4444
- id: destroyed-symlinks
4545
- id: detect-private-key
4646
- id: end-of-file-fixer
47+
exclude: README.md
4748
- id: mixed-line-ending
4849
- id: trailing-whitespace

AGENTS.md

Lines changed: 3 additions & 3 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/images/tfroot-runner/pre-commit-config.yaml`. The CI workflow fetches this config at runtime.
13+
Pre-commit configuration is **centralized** in `makeitworkcloud/shared-workflows/tfroot-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 and canonical pre-commit config
37-
- `shared-workflows` - Contains the reusable OpenTofu workflow
36+
- `images` - Contains tfroot-runner image
37+
- `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/images/main/tfroot-runner/pre-commit-config.yaml
63+
https://raw.githubusercontent.com/makeitworkcloud/shared-workflows/main/tfroot-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)