Skip to content

Commit 0fe4bd0

Browse files
authored
chore: clean up issue templates (#9355)
1 parent e26327b commit 0fe4bd0

File tree

4 files changed

+44
-14
lines changed

4 files changed

+44
-14
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ blank_issues_enabled: false
22
contact_links:
33
- name: CodeIgniter Forum
44
url: https://forum.codeigniter.com/forum-30.html
5-
about: Please ask your support questions in the forums. Thanks!
5+
about: Please ask your support questions and/or feature requests in the forums. Thanks!
66

77
- name: CodeIgniter Slack channel
88
url: https://codeigniterchat.slack.com

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
name: Planned work
3-
about: Approved work planning
3+
about: Maintainers' space. DO NOT use this for your bug reports!
44
title: 'Dev: '
55
labels: dev
66
assignees: ''
77

88
---
99

10-
Repo maintainers will create "issues" for planned work, so it can be tracked.
10+
Maintainers will create "issues" for planned work, so it can be tracked.

.github/mergeable.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# https://mergeable.readthedocs.io/en/latest/configuration.html
2+
3+
version: 2
4+
mergeable:
5+
- when: issues.opened
6+
validate:
7+
- do: description
8+
and:
9+
- must_include:
10+
regex: '^### PHP Version'
11+
- must_include:
12+
regex: '^### CodeIgniter4 Version'
13+
- do: author
14+
and:
15+
- must_exclude:
16+
regex: 'kenjis'
17+
- must_exclude:
18+
regex: 'lonnieezell'
19+
- must_exclude:
20+
regex: 'MGatner'
21+
- must_exclude:
22+
regex: 'michalsn'
23+
- must_exclude:
24+
regex: 'paulbalandan'
25+
- must_exclude:
26+
regex: 'samsonasik'
27+
fail:
28+
- do: comment
29+
payload: |
30+
Hi there! :wave:
31+
32+
It looks like you opened an issue without following the bug report template:
33+
34+
Bug report ([open an issue](https://github.com/codeigniter4/CodeIgniter4/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml&title=Bug%3A+))
35+
36+
If you are opening a feature request or support question, please do so in the [forums](https://forum.codeigniter.com/forum-30.html).
37+
38+
The current issue will be closed. This is a precaution to save maintainers' time, I hope you'll understand.
39+
40+
Sincerely, the mergeable bot 🤖
41+
- do: close

0 commit comments

Comments
 (0)