diff --git a/.gitattributes b/.gitattributes index 549fc36f25..f30b4ca9e1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,7 +3,7 @@ # Git itself .gitattributes eol=lf .gitignore eol=lf -OWNERS eol=lf +.github/CODEOWNERS eol=lf # dnscontrol files are unix line-endings: *.md text eol=lf diff --git a/OWNERS b/.github/CODEOWNERS similarity index 99% rename from OWNERS rename to .github/CODEOWNERS index 571dd895ba..495e085341 100644 --- a/OWNERS +++ b/.github/CODEOWNERS @@ -60,3 +60,5 @@ providers/transip @blackshadev providers/unifi @zupolgec providers/vercel @SukkaW providers/vultr @pgaskin + +* @TomOnTime diff --git a/build/generate/ownersFile.go b/build/generate/ownersFile.go index 201ba23598..e8be816bba 100644 --- a/build/generate/ownersFile.go +++ b/build/generate/ownersFile.go @@ -25,7 +25,11 @@ func generateOwnersFile() error { ownersData.WriteString("\n") } - file, err := os.Create("OWNERS") + // Overall maintainer + ownersData.WriteString("\n") + ownersData.WriteString("* @TomOnTime\n") + + file, err := os.Create(".github/CODEOWNERS") if err != nil { return err } diff --git a/documentation/advanced-features/writing-providers.md b/documentation/advanced-features/writing-providers.md index c0956c7cfc..007582ed3f 100644 --- a/documentation/advanced-features/writing-providers.md +++ b/documentation/advanced-features/writing-providers.md @@ -275,7 +275,7 @@ These are the things we'll be checking when you submit the PR. Please try to co 1. Run `go generate ./...` to make sure all generated files are fresh. 2. Make sure the following files were created and/or updated: - * `OWNERS` + * `.github/CODEOWNERS` * `README.md` * `.github/workflows/pr_integration_tests.yml` (env variables for your provider) * `.goreleaser.yml` (Search for `Provider-specific changes`)