(#9707) Add docs about no-review merges and labels

This commit is contained in:
Javier G. Sogo
2022-03-15 10:25:39 +01:00
committed by GitHub
parent d419cf7e31
commit db9ca81b75
3 changed files with 83 additions and 17 deletions

58
docs/labels.md Normal file
View File

@@ -0,0 +1,58 @@
# Labels
We use [GitHub labels](https://github.com/conan-io/conan-center-index/labels) to signal the status
of pull-requests and issues. Here you can find more information about the ones that have some
special meaning:
<!-- toc -->
## Content
<!-- endToc -->
## Bump dependencies
Label [`Bump dependencies`](https://github.com/conan-io/conan-center-index/pulls?q=is%3Aopen+is%3Apr+label%3A%22Bump+dependencies%22+)
is assigned by the bot to pull-requests that are just upgrading the version of the requirements that were already in the
recipe.
> These pull-requests will be merged right away without requiring any approval (CI and CLA checks must have passed).
If the pull request modifies anything else, the label won't be assigned, we need to be very careful about false positives.
## Bump version
Label [`Bump version`](https://github.com/conan-io/conan-center-index/pulls?q=is%3Aopen+is%3Apr+label%3A%22Bump+version%22)
is assigned by the bot to pull-requests that are just adding a new version of the library. The new version should satisfy
some extra conditions: sources should provide from the same URL domain as previous versions and the version itself should
be valid semver.
> These pull-requests will be merged right away without requiring any approval (CI and CLA checks must have passed).
If the pull request modifies anything else, the label won't be assigned, we need to be very careful about false positives.
## Infrastructure
Label [`infrastructure`](https://github.com/conan-io/conan-center-index/pulls?q=is%3Aopen+is%3Apr+label%3Ainfrastructure) is
manually assigned to pull requests that are waiting for something on the infrastructure side. Usually they are blocked and
cannot succeed because they need some tools, more memory,... these pull requests won't be marked as `stale`.
## Stale
Label [`stale`](https://github.com/conan-io/conan-center-index/pulls?q=is%3Aopen+is%3Apr+label%3Astale) is assigned to
pull requests without any activity during a long period of time. These pull requests will be closed if they don't get
any further activity.
## Unexpected Error
Label [`Unexpected Error`](https://github.com/conan-io/conan-center-index/pulls?q=is%3Aopen+is%3Apr+label%3A%22Unexpected+Error%22)
is assigned by the CI when the process finishes abnormally. It tries to signal all the pull requests that failed, but
didn't provide any meaninful message to the user. Usually it is some _random_ internal error and it won't happen next
time the CI runs, don't hesitate to trigger a new build in this situation.
## User-approval pending
Label [`User-approval pending`](https://github.com/conan-io/conan-center-index/pulls?q=is%3Aopen+is%3Apr+label%3A%22User-approval+pending%22)
signals the pull request that have been submitted by an user who is not yet approved in ConanCenter. Once the user is
approved these pull requests will be triggered again automatically.