All Projects → Renato66 → auto-label

Renato66 / auto-label

Licence: MIT license
Auto Label Issue Based on Issue Description

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to auto-label

Zswtappablelabel
UILabel subclass for links which are tappable, long-pressable, 3D Touchable, and VoiceOverable.
Stars: ✭ 148 (+335.29%)
Mutual labels:  label
setup-sonar-scanner
Github Action which downloads and runs sonar-scanner cli with custom parameters to start Sonarqube scan.
Stars: ✭ 31 (-8.82%)
Mutual labels:  action
gh-actions-html-table-generator
Read from a json file and write to the README
Stars: ✭ 29 (-14.71%)
Mutual labels:  action
Movingnumbersview
Moving numbers effect in SwiftUI
Stars: ✭ 175 (+414.71%)
Mutual labels:  label
Dwanimatedlabel
An UILabel subclass that lets you animate text with different types
Stars: ✭ 252 (+641.18%)
Mutual labels:  label
react-native-floating-label-input
A customizable React Native TextInput with its placeholder always shown. Includes masks, global styles, character count, and a bunch else.
Stars: ✭ 206 (+505.88%)
Mutual labels:  label
Cjlabel
A drop-in replacement for UILabel that supports NSAttributedString, rich text, display any view, links, select copy and more
Stars: ✭ 140 (+311.76%)
Mutual labels:  label
release-changelog-builder-action
A GitHub action that builds your release notes / changelog fast, easy and exactly the way you want.
Stars: ✭ 515 (+1414.71%)
Mutual labels:  action
lbaction-npm
NPM (LauchBar 6 Action)
Stars: ✭ 17 (-50%)
Mutual labels:  action
JhScrollActionSheetView
JhScrollActionSheetView - UIcollectionView横向滚动,类似微博新版的详情页分享界面,可设置单排或双排显示,title不设置不显示title,如果想实现发送站内用户的功能,自己可以改一下代码
Stars: ✭ 13 (-61.76%)
Mutual labels:  action
Vue Float Label
Float label pattern
Stars: ✭ 177 (+420.59%)
Mutual labels:  label
Mentornet
Code for MentorNet: Learning Data-Driven Curriculum for Very Deep Neural Networks
Stars: ✭ 245 (+620.59%)
Mutual labels:  label
pr-compliance-action
Check PR for compliance on title, linked issues, and files changed
Stars: ✭ 151 (+344.12%)
Mutual labels:  action
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (+364.71%)
Mutual labels:  label
k3d-action
A GitHub Action to run lightweight ephemeral Kubernetes clusters during workflow. Fundamental advantage of this action is a full customization of embedded k3s clusters. In addition, it provides a private image registry and multi-cluster support.
Stars: ✭ 137 (+302.94%)
Mutual labels:  action
Bmw Labeltool Lite
This repository provides you with a easy to use labeling tool for State-of-the-art Deep Learning training purposes.
Stars: ✭ 145 (+326.47%)
Mutual labels:  label
ts-action-operators
TypeScript action operators for NgRx and redux-observable
Stars: ✭ 34 (+0%)
Mutual labels:  action
setup-mingw
GitHub action to set up MinGW-w64
Stars: ✭ 51 (+50%)
Mutual labels:  action
mypy-check
github action for python's mypy type checker tool
Stars: ✭ 23 (-32.35%)
Mutual labels:  action
setup-lazarus
Set up your GitHub Actions workflow with a specific version of Lazarus
Stars: ✭ 29 (-14.71%)
Mutual labels:  action

Auto-label

Unit test Auto Label codecov

image

The Auto label action will check for every new issue and automatically adds a label based on the body of the issue. This means that finding specifc issues will be much more easy.

Creating

Check out the app to make yml file https://renato66.github.io/auto-label/

or

add a file to .github/workflows/issue.yml

name: Labeling new issue
on:
  issues:
    types: ['opened']
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: Renato66/auto-label@v2
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          ignore-comments: true
          labels-synonyms: '{"bug":["error","need fix","not working"],"enhancement":["upgrade"],"question":["help"]}'
          labels-not-allowed: '["good first issue"]'
          default-labels: '["help wanted"]'

Inputs

Name Description Required Default Examples
repo-token Github token for the repository true - ...
ignore-comments Ignore labels inside issue comments false true ...
labels-synonyms Text synonyms for labels false - ...
labels-not-allowed Labels to ignore false - ...
default-labels Labels that will always be set false - ...

Repo Token

Repo token is provided automaticly by github just need to add

repo-token: ${{ secrets.GITHUB_TOKEN }}

Change bot apperance

If you want to change who added the labels, you can provide a user token

image

image

The token will only need the public_repo scope

You will need to provide it as secret GITHUB_USER_TOKEN and update the issue.yml repo-token with: repo-token: ${{ secrets.GITHUB_USER_TOKEN }}

Ignore Comments

If you prefer to leave as default (true) You can provide a list of labels in a template for the author to choose wich labels are avaliable to pick But if you prefer to set it as false, the author can set the labels inside a comment so it doesn't appear on issue body

Scoped blocks

You can set a custom part of your issue/pr to be labeled using this structure:

Some text that could have a label that wouldn't be set
<!-- AUTO-LABEL:START -->
Another text that could have a label and will be set as a label
<!-- AUTO-LABEL:END -->

thanks to @dielduarte and @PauloGoncalvesBH

Labels Synonyms

Sometimes labels can be set uppon other texts, as an example, if you have a label like C: VCombobox it would be hard to match the label in a normal issue, but you can provide a JSON to set it synonyms:

labels-synonyms: '{"C: VCombobox":["combobox","v-combobox","combo box"]}'

Labels Not Allowed

Some labels are restricted to repo owners such as needs priority testing won't fix they can be set in an Array form:

labels-not-allowed: '["needs priority","testing","won't fix"]'

Default Labels

Labels that will always be set when a issue is created/updated such as triage, they can be set in an Array form:

default-labels: '["triage"]'

Badge

To add a badge simple replace owner and repository

Auto Label

<!-- Replace <OWNER> and <REPOSITORY>. It assumes workflow name is "Labeling%20new%20issue" -->
[![Auto Label](https://github.com/<OWNER>/<REPOSITORY>/workflows/Labeling%20new%20issue/badge.svg)](https://github.com/Renato66/auto-label)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].