Skip to content

Commit feafdbd

Browse files
authored
docs: add spam policy and saved reply
Introduces a new spam policy in CONTRIBUTING.md limiting community contributors to no more than 3 open PRs simultaneously to better manage team resources and triage efforts. Also adds a corresponding saved reply for closing excessive issues/PRs.
1 parent a4666ad commit feafdbd

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

.github/SAVED_REPLIES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,13 @@ I'd like to remind everyone that **you only have reproducible installs if you us
9999
100100
**It is your responsibility as a library consumer to use lockfiles**. No one wants to do a release with bugs but it sometimes happens, and the best we can do is to fix it as fast as possible with a new release. When you have a couple of thousand total dependencies it is only a matter of time until one of them has a bad release.
101101
```
102+
103+
## Angular CLI: Spam (v1)
104+
105+
```
106+
Woah, looks like you've opened a lot of issues/PRs recently. While we appreciate contributions from the community, triaging and reviewing a large influx of content in a short time period takes time away from other ongoing projects. As a result, we're closing these issues/PRs to maintain the team's focus.
107+
108+
Note that this is not necessarily a rejection of the goals or direction of any of these contributions in particular, so much as a reflection of the team's current capacity and priorities.
109+
110+
You are welcome to open a smaller subset of issues/PRs in accordance with [our policy](https://github.com/angular/angular/blob/main/contributing-docs/spam.md) focused on the most important and impactful contributions and we will do our best to prioritize a response as soon as possible.
111+
```

CONTRIBUTING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ to follow:
1212
- [Coding Rules](#rules)
1313
- [Commit Message Guidelines](#commit)
1414
- [Signing the CLA](#cla)
15-
- [Updating the Public API](#public-api)
15+
- [Spam Policy](#spam-policy)
1616

1717
## <a name="coc"></a> Code of Conduct
1818
Help us keep Angular open and inclusive. Please read and follow our [Code of Conduct][coc].
@@ -289,6 +289,9 @@ changes to be accepted, the CLA must be signed. It's a quick process, we promise
289289
* For corporations we'll need you to
290290
[print, sign and one of scan+email, fax or mail the form][corporate-cla].
291291

292+
## <a name="spam-policy"></a> Spam Policy
293+
294+
See [Spam Policy](https://github.com/angular/angular/blob/main/contributing-docs/spam.md) for details.
292295

293296
[coc]: https://github.com/angular/code-of-conduct/blob/main/CODE_OF_CONDUCT.md
294297
[commit-message-format]: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#

docs/DEVELOPER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Adding a package to this repository means running two separate commands:
168168

169169
1. `schematics devkit:package PACKAGE_NAME`. This will update the `.monorepo` file, and create the
170170
base files for the new package (package.json, src/index, etc).
171-
1. `devkit-admin templates`. This will update the README and all other template files that might
171+
1. `pnpm admin templates`. This will update the README and all other template files that might
172172
have changed when adding a new package.
173173

174174
For private packages, you will need to add a `"private": true` key to your package.json manually.

scripts/templates/contributing.ejs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ to follow:
1212
- [Coding Rules](#rules)
1313
- [Commit Message Guidelines](#commit)
1414
- [Signing the CLA](#cla)
15-
- [Updating the Public API](#public-api)
15+
- [Spam Policy](#spam-policy)
1616

1717
## <a name="coc"></a> Code of Conduct
1818
Help us keep Angular open and inclusive. Please read and follow our [Code of Conduct][coc].
@@ -280,6 +280,9 @@ changes to be accepted, the CLA must be signed. It's a quick process, we promise
280280
* For corporations we'll need you to
281281
[print, sign and one of scan+email, fax or mail the form][corporate-cla].
282282

283+
## <a name="spam-policy"></a> Spam Policy
284+
285+
See [Spam Policy](https://github.com/angular/angular/blob/main/contributing-docs/spam.md) for details.
283286

284287
[coc]: https://github.com/angular/code-of-conduct/blob/main/CODE_OF_CONDUCT.md
285288
[commit-message-format]: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#

scripts/validate.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default async function (options: { verbose: boolean }) {
2727
await templates();
2828
if (execSync(`git status --porcelain`).toString()) {
2929
console.error(
30-
'Running templates updated files... Please run "devkit-admin templates" before submitting a PR.',
30+
'Running templates updated files... Please run "pnpm admin templates" before submitting a PR.',
3131
);
3232
if (!options.verbose) {
3333
process.exit(2);

0 commit comments

Comments
 (0)