diff --git a/.mergify.yml b/.mergify.yml index 1ada140..bd869f9 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -16,20 +16,21 @@ pull_request_rules: - "#approved-reviews-by>=1" - -title~=(WIP|wip) - "label!=Status: Blocked" + - "title~=^(build|chore|ci|docs|style|refactor|perf|test|fix|feat|fix|feat|feat!|fix!)(\\([a-z]+\\))?: [\\w ]+$" - - "label~=^Type: " - - - - - name: missing type + - name: change title actions: comment: message: | - To (auto) merge this pull-request, just tag this PR with a label: + For mergify to merge automatically this PR, - - `Type: Enhancement` (new feature) - - (or) `Type: Bug` (bugfix) - - (or) `Type: Maintenance` (not on the changelog) + => you have to change the PR title to match conventional commit specification: + + ``` + regex: ^(build|chore|ci|docs|style|refactor|perf|test|fix|feat|fix|feat|feat!|fix!)(\([a-z]+\))?: [\w ]+$ + ``` + + As the title will be used for the commit message (and so for changelog entry if `feat:` or `fix:`). conditions: - -merged @@ -37,13 +38,10 @@ pull_request_rules: - "#approved-reviews-by>=1" - -title~=(WIP|wip) - "label!=Status: Blocked" - - "-label~=^Type: " + - "-title~=^(build|chore|ci|docs|style|refactor|perf|test|fix|feat|fix|feat|feat!|fix!)(\\([a-z]+\\))?: [\\w ]+$" - name: buildbot auto merges actions: - label: - add: ["Type: Maintenance"] - remove: ["Type: Question", "Type: Enhancement", "Type: Bug"] review: type: APPROVE message: "automatic approve because author=metworkbot" diff --git a/README.md b/README.md index 8987a9e..9d0c865 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ [//]: # (TABLE_OF_CONTENTS_PLACEHOLDER) + + ## What is it? **log_proxy** is a tiny C utility for log rotation for apps that write their logs to stdout.