Skip to content

Commit 3276808

Browse files
authored
chore: greet new PR contributors using mergeable (#9434)
1 parent b119e32 commit 3276808

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/mergeable.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,40 @@ mergeable:
3232
3333
Sincerely, the mergeable bot 🤖
3434
- do: close
35+
36+
- when: pull_request.opened, pull_request.ready_for_review
37+
filter:
38+
- do: payload
39+
pull_request:
40+
draft:
41+
match: false
42+
author_association:
43+
must_include:
44+
regex: ^NONE|FIRST_TIME_CONTRIBUTOR|FIRST_TIMER$
45+
validate: []
46+
pass:
47+
- do: comment
48+
payload:
49+
body: |
50+
Hi there, @@author! :wave:
51+
52+
Thank you for sending this PR!
53+
54+
We expect the following in all Pull Requests (PRs).
55+
- PRs must be sent to the [appropriate branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#branching)
56+
- All git commits must be [GPG-signed](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#signing)
57+
- Must follow our [style guide](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#php-style)
58+
- Be [commented](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#comments) in the PHP source file
59+
- Be documented in the [user guide](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#user-guide)
60+
- Be [unit tested](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#unit-testing)
61+
- Pass all checks in GitHub Actions
62+
63+
> [!IMPORTANT]
64+
> 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.
65+
66+
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
67+
on the framework than you do. Please make it as painless for your contributions to be included as possible.
68+
69+
See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md
70+
71+
Sincerely, the mergeable bot 🤖

0 commit comments

Comments
 (0)