Adding program language lens for Code Ownership (#15431)

The goal is to consider different means of determining who might be able
to help review this code.

After we merge this, we're going to want to have folks self-identify in
the three groups:

- [@forem/ruby](https://github.com/orgs/forem/teams/ruby)
- [@forem/javascript](https://github.com/orgs/forem/teams/javascript)
- [@forem/css](https://github.com/orgs/forem/teams/css)
This commit is contained in:
Jeremy Friesen 2021-11-22 11:28:35 -05:00 committed by GitHub
parent 363c099bab
commit 3f3659c276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

27
.github/CODEOWNERS vendored
View file

@ -2,7 +2,30 @@
# see https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
# for further details
# File exentions based ownership
#
# They are: .builder, .css, .erb, .gif, .ico, .jbuilder, .js, .jsx,
# .map, .md, .mdx, .otf, .png, .rake, .rb, .scss, .snap,
# .svg, .toml, .xml
#
# Use the following to generate the list:
#
# * `tree app | rg "\.\w+$" --only-matching | sort | uniq`
# * `tree lib | rg "\.\w+$" --only-matching | sort | uniq`
#
**/*.builder @forem/ruby
**/*.css @forem/css
**/*.erb @forem/ruby
**/*.jbuilder @forem/ruby
**/*.js @forem/javascript
**/*.json @forem/javascript @forem/ruby
**/*.jsx @forem/javascript
**/*.md @forem/oss
**/*.rb @forem/ruby
**/*.scss @forem/css
# Context based ownership
/app/assets/ @forem/frontend
/app/controllers/async_info_controller.rb @forem/sre
/app/javascript/ @forem/frontend
@ -20,8 +43,8 @@
Containerfile @forem/systems
docker-compose.yml @forem/systems
Dockerfile @forem/systems
Gemfile @forem/sre @forem/backend
Gemfile.lock @forem/sre @forem/backend
Gemfile @forem/ruby @forem/sre @forem/backend
Gemfile.lock @forem/ruby @forem/sre @forem/backend
package.json @forem/frontend
podman-compose.yml @forem/systems
scripts/ @forem/systems