571a9b2149
Create the Gitea repo with branch protection on master requiring pre-commit and plan CI checks before merge.
20 lines
545 B
YAML
20 lines
545 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"
|
|
woodpecker: true
|