zoukankan      html  css  js  c++  java
  • owners

    community/owners.md at master · kubernetes/community https://github.com/kubernetes/community/blob/master/contributors/guide/owners.md

    OWNERS spec

    The k8s.io/test-infra/prow/repoowners package is the main consumer of OWNERS files. If this page is out of date, look there.

    OWNERS

    Each directory that contains a unit of independent code or content may also contain an OWNERS file. This file applies to everything within the directory, including the OWNERS file itself, sibling files, and child directories.

    OWNERS files are in YAML format and support the following keys:

    • approvers: a list of GitHub usernames or aliases that can /approve a PR
    • labels: a list of GitHub labels to automatically apply to a PR
    • options: a map of options for how to interpret this OWNERS file, currently only one:
      • no_parent_owners: defaults to false if not present; if true, exclude parent OWNERS files. Allows the use case where a/deep/nested/OWNERS file prevents a/OWNERS file from having any effect on a/deep/nested/bit/of/code
    • reviewers: a list of GitHub usernames or aliases that are good candidates to /lgtm a PR

    The above keys constitute a simple OWNERS configuration.

    All users are expected to be assignable. In GitHub terms, this means they must be members of the organization to which the repo belongs.

    A typical OWNERS file looks like:

    approvers:
      - alice
      - bob     # this is a comment
    reviewers:
      - alice
      - carol   # this is another comment
      - sig-foo # this is an alias

    About code owners - GitHub Docs https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners

    e.g.

    # See the OWNERS docs at https://go.k8s.io/owners

    approvers:
    - guhao
    - liangkai
    - zhangshengchao
    - zhaogangtao
    labels:
    - admin
    - admin/main/answer
    - main
    options:
    no_parent_owners: true
    reviewers:
    - guhao
    - liangkai
    - zhangshengchao
    - zhaogangtao
  • 相关阅读:
    .net 自带的oracleclient 的一点小问题
    重新感受Windows 的激情
    三点定面的算法实现
    回归.NET的世界
    .NET 基础题, 可以做面试题, 不断更新 20111
    C#根据字符串生成唯一的数字
    最近看的书
    代码中的注释, 需要面向功能注释,而非使用注释
    html 页面嵌入 Silverlight , Silverlight控件覆盖悬浮HTML元素的解决方法.
    gitlab clone或者pull 仓库
  • 原文地址:https://www.cnblogs.com/rsapaper/p/13858519.html
Copyright © 2011-2022 走看看