|
| 1 | +# https://github.com/NexusPHP/carson/blob/1.x/SUBSCRIBERS.md |
| 2 | + |
| 3 | +version: 1 |
| 4 | +subscribers: |
| 5 | + - auto-labeler |
| 6 | + - conflicts-notifier |
| 7 | + - no-merge-commits |
| 8 | + - no-response-closer |
| 9 | + - pr-title-linter |
| 10 | + - signed-commits |
| 11 | + - template-enforcer |
| 12 | + - welcome |
| 13 | +settings: |
| 14 | + auto-labeler: |
| 15 | + sync_labels: true |
| 16 | + sync_exempt: |
| 17 | + - enhancement |
| 18 | + rules: |
| 19 | + - label: '4.8' # @todo change value whenever the next minor version is changed |
| 20 | + base_branch: ['^4\.8$'] |
| 21 | + - label: github_actions |
| 22 | + files: ['.github/workflows/*'] |
| 23 | + - label: documentation |
| 24 | + files: |
| 25 | + all: ['user_guide_src/source/**'] |
| 26 | + - label: testing |
| 27 | + files: |
| 28 | + all: ['tests/**'] |
| 29 | + - label: bug |
| 30 | + title: ['^fix(\([^)]*\))?: '] |
| 31 | + - label: enhancement |
| 32 | + title: ['^perf(\([^)]*\))?: '] |
| 33 | + - label: refactor |
| 34 | + title: ['^refactor(\([^)]*\))?: '] |
| 35 | + conflicts-notifier: |
| 36 | + label: stale |
| 37 | + message: |- |
| 38 | + :wave: Hi, @{{user}}! |
| 39 | +
|
| 40 | + We detected conflicts in your PR against the base branch :speak_no_evil: |
| 41 | + You may want to sync :arrows_counterclockwise: your branch with upstream! |
| 42 | +
|
| 43 | + Ref: [Syncing Your Branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#updating-your-branch) |
| 44 | + no-merge-commits: |
| 45 | + name: 'Carson / no-merge-commits' |
| 46 | + treat_merge_commits_as: failure |
| 47 | + exempt_branches: |
| 48 | + - head: '^develop$' |
| 49 | + base: '^master$' |
| 50 | + - head: '^4\.\d+$' |
| 51 | + base: '^develop$' |
| 52 | + no-response-closer: |
| 53 | + rules: |
| 54 | + - label: needs template |
| 55 | + only: issues |
| 56 | + days_until_close: 2 |
| 57 | + close_message: |- |
| 58 | + Closing this issue: the description still does not follow the bug report template after {{days_until_close}} days. |
| 59 | +
|
| 60 | + Please open a new issue using the [bug report form](https://github.com/codeigniter4/CodeIgniter4/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml&title=Bug%3A+). For feature requests or support questions, please use the [forums](https://forum.codeigniter.com/forum-30.html). |
| 61 | + - label: waiting for info |
| 62 | + days_until_close: 14 |
| 63 | + unlabel_on_response: true |
| 64 | + close_message: |- |
| 65 | + Closing this {{type}}: there has been no response for {{days_until_close}} days after more information was requested. |
| 66 | +
|
| 67 | + If you can provide the requested details, leave a comment and a maintainer can reopen it. |
| 68 | + pr-title-linter: |
| 69 | + name: 'Carson / pr-title-linter' |
| 70 | + rules: |
| 71 | + - pattern: '^(?:(?:\[\d+\.\d+\] )?(?:feat|fix|chore|docs|perf|refactor|style|test|config|revert)(?:\([\-.@:`a-zA-Z0-9]+\))?!?: \S.+\S|Prep for \d+\.\d+\.\d+ release|\d+\.\d+\.\d+ (?:Ready|Merge) code)$' |
| 72 | + description: 'PR title must include the type (feat, fix, chore, docs, perf, refactor, style, test, config, revert) of the commit per Conventional Commits specification. See https://www.conventionalcommits.org/en/v1.0.0/ for the discussion.' |
| 73 | + level: error |
| 74 | + signed-commits: |
| 75 | + name: 'Carson / signed-commits' |
| 76 | + treat_unsigned_as: failure |
| 77 | + template-enforcer: |
| 78 | + label: needs template |
| 79 | + exempt_roles: [admin, maintain, write, triage] |
| 80 | + message: |- |
| 81 | + Hi there, @{{user}}! :wave: |
| 82 | +
|
| 83 | + It looks like this {{type}} does not follow our template: |
| 84 | +
|
| 85 | + {{violations}} |
| 86 | +
|
| 87 | + Please update the description to follow the template. The `{{label}}` label will be removed automatically once it does. |
| 88 | + issues: |
| 89 | + rules: |
| 90 | + - pattern: '### PHP Version[\s\S]*### CodeIgniter4 Version' |
| 91 | + description: 'Use the [bug report form](https://github.com/codeigniter4/CodeIgniter4/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml&title=Bug%3A+), which asks for your PHP and CodeIgniter4 versions. For a feature request or support question, please use the [forums](https://forum.codeigniter.com/forum-30.html).' |
| 92 | + pull_requests: |
| 93 | + rules: |
| 94 | + - pattern: '\*\*Description\*\*' |
| 95 | + description: 'Keep the **Description** heading from the [pull request template](https://github.com/codeigniter4/CodeIgniter4/blob/develop/.github/PULL_REQUEST_TEMPLATE.md) and explain what you have changed, and why.' |
| 96 | + - pattern: '\*\*Checklist:?\*\*' |
| 97 | + description: 'Keep the **Checklist** from the pull request template and tick the items that apply. See [what we expect in a pull request](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md).' |
| 98 | + - pattern: 'Explain what you have changed, and why\.' |
| 99 | + description: 'Replace the placeholder text under **Description** with your own explanation.' |
| 100 | + mode: forbid |
| 101 | + welcome: |
| 102 | + first_time: |
| 103 | + pull_request: |- |
| 104 | + Hi there, @{{user}}! :wave: |
| 105 | +
|
| 106 | + Thank you for sending this PR! |
| 107 | +
|
| 108 | + We expect the following in all Pull Requests (PRs). |
| 109 | + - PRs must be sent to the [appropriate branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#branching) |
| 110 | + - All git commits must be [GPG-signed](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#signing) |
| 111 | + - Must follow our [style guide](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#php-style) |
| 112 | + - Be [commented](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#comments) in the PHP source file |
| 113 | + - Be documented in the [user guide](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#user-guide) |
| 114 | + - Be [unit tested](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#unit-testing) |
| 115 | + - Pass all checks in GitHub Actions |
| 116 | +
|
| 117 | + > [!IMPORTANT] |
| 118 | + > We expect all code changes or bug-fixes to be accompanied by one or more tests added to our test suite to prove the code works. |
| 119 | +
|
| 120 | + If pull requests do not comply with the above, they will likely be closed. Since we are a team of volunteers, we don't have any more time to work |
| 121 | + on the framework than you do. Please make it as painless for your contributions to be included as possible. |
| 122 | +
|
| 123 | + See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md |
| 124 | + issue: false |
| 125 | + returning: false |
0 commit comments