You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/carson.yml
+55Lines changed: 55 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,11 @@ version: 1
4
4
subscribers:
5
5
- auto-labeler
6
6
- conflicts-notifier
7
+
- no-response-closer
7
8
- pr-title-linter
8
9
- signed-commits
10
+
- template-enforcer
11
+
- welcome
9
12
settings:
10
13
auto-labeler:
11
14
sync_labels: true
@@ -35,6 +38,15 @@ settings:
35
38
You may want to sync :arrows_counterclockwise: your branch with upstream!
36
39
37
40
Ref: [Syncing Your Branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#updating-your-branch)
41
+
no-response-closer:
42
+
rules:
43
+
- label: needs template
44
+
only: issues
45
+
days_until_close: 2
46
+
close_message: |-
47
+
Closing this issue: the description still does not follow the bug report template after {{days_until_close}} days.
48
+
49
+
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).
38
50
pr-title-linter:
39
51
name: 'Carson / pr-title-linter'
40
52
rules:
@@ -44,3 +56,46 @@ settings:
44
56
signed-commits:
45
57
name: 'Carson / signed-commits'
46
58
treat_unsigned_as: failure
59
+
template-enforcer:
60
+
label: needs template
61
+
exempt_roles: [admin, maintain, write, triage]
62
+
message: |-
63
+
Hi there, @{{user}}! :wave:
64
+
65
+
It looks like you opened an issue without following the bug report template:
66
+
67
+
{{violations}}
68
+
69
+
* Bug report ([open an issue](https://github.com/codeigniter4/CodeIgniter4/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml&title=Bug%3A+))
70
+
* For feature request or support question, please use the [forums](https://forum.codeigniter.com/forum-30.html).
71
+
72
+
Please update the description to follow the template. The `{{label}}` label will be removed automatically once it does.
73
+
issues:
74
+
required_sections:
75
+
- '### PHP Version'
76
+
- '### CodeIgniter4 Version'
77
+
welcome:
78
+
first_time:
79
+
pull_request: |-
80
+
Hi there, @{{user}}! :wave:
81
+
82
+
Thank you for sending this PR!
83
+
84
+
We expect the following in all Pull Requests (PRs).
85
+
- PRs must be sent to the [appropriate branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#branching)
86
+
- All git commits must be [GPG-signed](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#signing)
87
+
- Must follow our [style guide](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#php-style)
88
+
- Be [commented](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#comments) in the PHP source file
89
+
- Be documented in the [user guide](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#user-guide)
90
+
- Be [unit tested](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#unit-testing)
91
+
- Pass all checks in GitHub Actions
92
+
93
+
> [!IMPORTANT]
94
+
> 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.
95
+
96
+
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
97
+
on the framework than you do. Please make it as painless for your contributions to be included as possible.
98
+
99
+
See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md
0 commit comments