Skip to content

satoryu/labeling-by-gpt

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Labeling by GPT

When creating new issue, this action puts labels to an issues in the repository autocratically without pre-defined rule. This is powered by OpenAI completion API to choose suitable labels.

Please note that this action supports only issues trigger and the two types: opened and edited.

Inputs

openai-api-key

Required Your OpenAI API Key.

github-token

Optional. GitHub API token to access GitHub API. The default value is secrets.GITHUB_TOKEN, an API token provided for an action. Be sure of that this token has a permission to put labels to an issue. This document would help you.

Example

on:
  issues:
    types: [opened, edited]

jobs:
  test:
    name: test
    runs-on: ubuntu-latest

    steps:
      - uses: satoryu/labeling-by-gpt@main
        with:
          openai-api-key: ${{ secrets.OPENAI_API_KEY }}

About

This action puts labels to an issues in the repository autocratically without pre-defined rule.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published