avinashkranjan / Pentesting-and-Hacking-Scripts

šŸš€ A curated collection of Pentesting and Hacking Scripts for Script Kiddie to Advanced Pentesters. šŸ‘Øā€šŸ’»
Creative Commons Zero v1.0 Universal
181 stars 131 forks source link

[DOCS] workflow to add labels by analyzing titles of PR/Issues #473

Closed Anmol-Baranwal closed 10 months ago

Anmol-Baranwal commented 11 months ago

Issue Description

Reference: https://github.com/hoho4190/issue-pr-labeler

Suppose there is fix or feat or chore or Feature in the title, the workflow would automatically add the corresponding labels.

Screenshots or Examples (if applicable)

If you want to see an example, I have contributed the same workflow in another repository.

You can take a look at the recent PR here: https://github.com/Opentek-Org/opentek/pull/569

Based on the title image

Proposed Solution (optional)

I will separate this workflow into two files to improve code readability and labels will be in the trigger file.

By analyzing the titles of PRs, it will automatically assign appropriate labels based on predefined criteria such as status, goals, and aspects. It will use regexs, events, targets.

I will add detailed instructions in the PR description, so that you can easily review the PR.

I will add the labels, based on the repository and will mention if a new label is used for the purpose like build.

Checklist