teams: Add “codeowners” action.

* etc/teams.scm (team->codeowners-snippet, export-codeowners): New
procedures.
(main): Add “codeowners” action.
* doc/contributing.texi (Teams): Document it.

Change-Id: I601443981af374d85160833f7096d8c973873fb1
This commit is contained in:
Ludovic Courtès 2025-05-10 17:12:50 +02:00
parent 3b6e499d5e
commit 8dff813138
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 38 additions and 0 deletions

View file

@ -2733,6 +2733,13 @@ $ guix shell -D guix
[env]$ git send-email --to=@var{ISSUE_NUMBER}@@debbugs.gnu.org -2
@end example
To generate a @file{CODEOWNERS} file, which Forgejo uses to determine
which team or person should review changes to a given set of files, run:
@example
./etc/teams.scm codeowners > CODEOWNERS
@end example
@node Making Decisions
@section Making Decisions