85583a02ad
- Remove woodpecker_repository module and provider (repos managed outside TF) - Add removed block with destroy=false to drop state without destroying - Add module.team to branch_protection depends_on to prevent race condition - Add lifecycle ignore_changes for team permission (provider bug: API returns "none" but rejects it on write)
19 lines
528 B
YAML
19 lines
528 B
YAML
description: "Terraform configuration for managing ArtifactAPI remote and virtual repositories"
|
|
private: false
|
|
default_branch: "master"
|
|
default_delete_branch_after_merge: true
|
|
default_merge_style: "squash"
|
|
branch_protection:
|
|
- rule_name: "master"
|
|
enable_push: false
|
|
merge_whitelist_users:
|
|
- "benvin"
|
|
- "unkinben"
|
|
status_check_contexts:
|
|
- "ci/woodpecker/pr/pre-commit"
|
|
- "ci/woodpecker/pr/plan"
|
|
approval_whitelist_users:
|
|
- "unkinben"
|
|
approval_whitelist_teams:
|
|
- "Owners"
|