Skip to main content

Code Owners implementation

Project description

PBX Code Owners

Simple implementation of Code Owners feature available only in Gitlab Premium and Ultimate plans.

Sample configuration file (place it in main repo folder with name codeowners.yml):

sections:
  - name: "Your section name"
    paths:
      - "."
    owners:
      - '@have'
      - '@a_nice'
      - '@day'
  - name: "tests"
    paths:
      - "tests/"
    owners:
      - '@ninja_qa'

Usage example:

Download package with pip, and execute script with command pbx-code-owners.

Make sure you have all necessary environmental variables in scope:

  • CI_SERVER_URL (eg. https://yourcompany.gitlab.com)
  • CI_PROJECT_ID (can be found in project settings)
  • CI_MERGE_REQUEST_IID (merge request ID)
  • CODE_OWNERS_GITLAB_TOKEN (access token necessary for creating threads)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pbx_code_owners-1.2.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pbx_code_owners-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pbx_code_owners-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cdefd8676728efa17d40fe9993d22fb47cee35b6d7fd6069569453979f14eb8
MD5 19153294aaa7469f1a4c07257d7aa13e
BLAKE2b-256 9e4653ec8f5fac7e3e17ac3cdfd532303dc19374bc9140a2243408c19f558d48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page