Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

CaiJingLong/action_auto_label

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Auto label

If your label is [bug] The title have problem, then the action will be add a 'bug' label for it.

This is simply used to explore the use of action. The current version is not recommended for use in a production environment.

Usabe

name: 'On issue'
on:
  issues:
    types: [opened, reopened, edited]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: CaiJingLong/action_auto_label@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}