github: add auto pr closer

This commit is contained in:
lightclient 2025-11-14 10:51:47 -07:00
parent 395425902d
commit f687015858
No known key found for this signature in database
GPG key ID: 657913021EF45A6A
2 changed files with 27 additions and 1 deletions

23
.github/workflows/close.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Check author contributor status
on:
pull_request_target:
types: [opened, reopened]
jobs:
run:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Checkout collaborator list repository
uses: actions/checkout@v4
with:
repository: lightclient/geth-collaborators
path: geth-collaborators
- uses: lightclient/close-pull-request@allowlist
with:
allowlist: geth-collaborators/COLLABORATORS
comment: "To combat excessive pull requests, the go-ethereum team now requires contributors to [register](https://pad.ethereum.org/form/#/3/form/view/8cfd7dbf415489a41cfefb7f4901d549/) as a collaborator. Please see the [policy](https://github.com/lightclient/geth-collaborators) for more information. Thank you for understanding, we look forward to reviewing your contribution!"

View file

@ -218,7 +218,10 @@ There are three different solutions depending on your use case:
Thank you for considering helping out with the source code! We welcome contributions
from anyone on the internet, and are grateful for even the smallest of fixes!
If you'd like to contribute to go-ethereum, please fork, fix, commit and send a pull request
If you'd like to contribute to go-ethereum, please start by submitting the
[request for collaborator status](https://pad.ethereum.org/form/#/3/form/view/8cfd7dbf415489a41cfefb7f4901d549/)
form. This helps reduce spam PRs and allows us to thoroughly review
contributions. After that fork, fix, commit and send a pull request
for the maintainers to review and merge into the main code base. If you wish to submit
more complex changes though, please check up with the core devs first on [our Discord Server](https://discord.gg/invite/nthXNEv)
to ensure those changes are in line with the general philosophy of the project and/or get