devicons / devicons/devicon

[FEATURE REQUEST] Automatically remove new icon issues if they already exist in the repo

Open
#1,417 0 comments 0 reactions 0 assignees View on GitHub
devops discussion enhancement
Dominant language
CSS
Stars
11.8k
Forks
2.4k
Avg merge
5d 4h
Merged PRs (30d)
3

Description

### I have searched through the issues and didn't find my problem.

- [X] Confirm

### Problem

There are a lot of new issues for icons that are already in-develop, or in the master branch. These issues have to be closed manually by the maintainers.

It would be better if they were automatically closed by a bot.

### Possible Solution

Have a GitHub Action that automatically runs on every new issue and everytime an issue is labeled as `feature:icons`.
The bot should do the following:
1. Run everytime an Issue is created, or labeled with the `feature: icon` label. Unless the issue has the label `in-develop`, in which case nothing should be done.
2. Retrieve the icon name from the issue title.
3. Search through the `name` and `altname` fields in `devicon.json` for said title.
4. If it finds an exact match it should close the issue. If it finds an approximate match (i.e. .net is found in .net core), it should assign the issue to a maintainer, and label it `awaiting-triage`.

### Additional information

Once we have this implemented we should run through all the existing issues, and remove the ones that are already implemented.

I'm open to ideas here, so let the discussion start

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.