Skip to content

Commit f744a54

Browse files
authored
Merge pull request #9565 from guggero/bot-typo-fix-spam
GitHub+docs: no longer accept typo fixes to fight PR spam
2 parents f1182e4 + a78f9f6 commit f744a54

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

Diff for: .github/pull_request_template.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ Steps for reviewers to follow to test the change.
1111
- [ ] Bug fixes contain tests triggering the bug to prevent regressions.
1212

1313
### Code Style and Documentation
14-
- [ ] The change obeys the [Code Documentation and Commenting](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#CodeDocumentation) guidelines, and lines wrap at 80.
15-
- [ ] Commits follow the [Ideal Git Commit Structure](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#IdealGitCommitStructure).
14+
- [ ] The change is not [insubstantial](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#substantial-contributions-only). Typo fixes are not accepted to fight bot spam.
15+
- [ ] The change obeys the [Code Documentation and Commenting](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#code-documentation-and-commenting) guidelines, and lines wrap at 80.
16+
- [ ] Commits follow the [Ideal Git Commit Structure](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#ideal-git-commit-structure).
1617
- [ ] Any new logging statements use an appropriate subsystem and logging level.
1718
- [ ] Any new lncli commands have appropriate tags in the comments for the rpc in the proto file.
1819
- [ ] [There is a change description in the release notes](https://github.com/lightningnetwork/lnd/tree/master/docs/release-notes), or `[skip ci]` in the commit message for small changes.

Diff for: docs/code_contribution_guidelines.md

+14
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,20 @@ Once the specification is finalized, it will be the most up-to-date
9898
comprehensive document explaining the Lightning Network. As a result, it will
9999
be recommended for newcomers to read first in order to get up to speed.
100100

101+
# Substantial contributions only
102+
103+
Due to the prevalence of automated analysis and pull request authoring tools
104+
and online competitions that incentivize creating commits in popular
105+
repositories, the maintainers of this project are flooded with trivial pull
106+
requests that only change some typos or other insubstantial content (e.g. the
107+
year in the license file).
108+
If you are an honest user that wants to contribute to this project, please
109+
consider that every pull request takes precious time from the maintainers to
110+
review and consider the impact of changes. Time that could be spent writing
111+
features or fixing bugs.
112+
If you really want to contribute, consider reviewing and testing other users'
113+
pull requests instead. Or add value to the project by writing unit tests.
114+
101115
# Development Practices
102116

103117
Developers are expected to work in their own trees and submit pull requests when

0 commit comments

Comments
 (0)