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
Release history Release notifications | RSS feed
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
File details
Details for the file pbx_code_owners-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: pbx_code_owners-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cdefd8676728efa17d40fe9993d22fb47cee35b6d7fd6069569453979f14eb8 |
|
MD5 | 19153294aaa7469f1a4c07257d7aa13e |
|
BLAKE2b-256 | 9e4653ec8f5fac7e3e17ac3cdfd532303dc19374bc9140a2243408c19f558d48 |