A GitHub Action that can be used to suggest labels for issues.
The name of the repo with the issues that need label suggestions. Default ${{ github.event.repository.name }}
.
The repo owner's username. Default ${{ github.repository_owner }}
.
Access token that can access the issues on the repo. Default ${{ github.token }}
.
Required OpenAI API access key.
Required OpenAI endpoint for accessing the model.
Required The deployment ID of the OpenAI model.
The issues and their corresponding labels.
name: Suggest Labels
- uses: snehara99/label-suggestions@0.0.13
with:
repo: ${{ github.event.repository.name }}
owner: ${{ github.repository_owner }}
token: ${{ github.token }}
api_key: ${{ secrets.API_KEY }}
endpoint: 'https://americasopenai.azure-api.net'
deployment-id: 'gpt-35-turbo-16k'