Skip to content

Commit e736200

Browse files
committed
chore: move canonical pre-commit config to images repo
1 parent 23e0fbf commit e736200

File tree

3 files changed

+3
-52
lines changed

3 files changed

+3
-52
lines changed

.github/workflows/opentofu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Fetch canonical pre-commit config
6060
run: |
6161
curl -sSL -o .pre-commit-config.yaml \
62-
https://raw.githubusercontent.com/makeitworkcloud/shared-workflows/main/tfroot-pre-commit-config.yaml
62+
https://raw.githubusercontent.com/makeitworkcloud/images/main/tfroot-runner/pre-commit-config.yaml
6363
6464
- name: Initialize OpenTofu
6565
run: tofu init -backend=false

AGENTS.md

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

1515
Reusable workflow for OpenTofu/Terraform root module repositories (`tfroot-*`). It:
1616

17-
1. Fetches canonical pre-commit config from `tfroot-pre-commit-config.yaml` in this repo
17+
1. Fetches canonical pre-commit config from `makeitworkcloud/images` repo
1818
2. Runs pre-commit tests using the `tfroot-runner` container image
1919
3. Posts plan output as PR comments
2020
4. Applies on merge to main
2121

22-
**Pre-commit configuration is centralized** in `tfroot-pre-commit-config.yaml`. Do not add `.pre-commit-config.yaml` to individual tfroot repos.
22+
**Pre-commit configuration is centralized** in `makeitworkcloud/images/tfroot-runner/pre-commit-config.yaml`. Do not add `.pre-commit-config.yaml` to individual tfroot repos.
2323

2424
### Workflow Inputs
2525

tfroot-pre-commit-config.yaml

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

0 commit comments

Comments
 (0)