asyncapi / asyncapi/website

[FEATURE] Modify Github Bot to review & close Spam Issues/PRs

Open
#3,742 33 comments 0 reactions 1 assignee Claimed by @TRohit20 View on GitHub
enhancement stale
Dominant language
TypeScript
Stars
716
Forks
1.2k
Avg merge
1d 12h
Merged PRs (30d)
35

Description

### Why do we need this improvement?

Over the last 3 years, we have been growing very steadily as a project YOY and the influx of contributors to our repositories has gone up significantly as well.

This has come with it's own challenges where new comers do not always take the time to read our contributing guidelines and end up opening various Issues that are not relevant or even spam PRs to solve the same.

This adds more to the plate of the maintainers, consuming more time/bandwidth and often can result in us(as maintainers) overseeing actual valuable issues or contributions.

### How will this change help?

This change would allow our GitHub bot to automatically check each issue, wait for a certain duration before a maintainer of the repository marks the issue as 'Approved' with a label reflecting the same and assign the issue to the intended person. If the issue is not approved in a certain time, the issue will be automatically closed stating a polite and valid message :)

In case of PRs, the Bot again will check each to check if there is a reference issue that the PR intends to resolve, if yes, is that issue approved by the maintainers? if no, then the bot shall close the PR similar to the issue.

Please note that this change would exempt issues and PRs created by Maintainers of the repository.

### Screenshots

_No response_

### How could it be implemented/designed?

We already have a GitHub Bot, we will just modify it with relevant conditions, using which the bot will evaluate and take action if any required for each issue and PR.

PS: I think we also need to create a new label called 'Approved'

### 🚧 Breaking changes

No

### 👀 Have you checked for similar open issues?

- [x] I checked and didn't find a similar issue

### 🏢 Have you read the Contributing Guidelines?

- [x] I have read the [Contributing Guidelines](https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md)

### Are you willing to work on this issue?

Yes I am willing to submit a PR!

CC @thulieblack @derberg @akshatnema @anshgoyalevil @vishvamsinh28 @quetzalliwrites

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.