Skip to content

Commit

Permalink
default token
Browse files Browse the repository at this point in the history
  • Loading branch information
austenstone committed Mar 9, 2022
1 parent af1c4c7 commit f104426
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/usage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ jobs:
- uses: actions/checkout@v2
- uses: ./
with:
token: "${{ secrets.GITHUB_TOKEN }}"
openai-api-key: "${{ secrets.OPENAI_API_KEY }}"
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
steps:
- uses: austenstone/openai-issue-labeler@main
with:
token: "${{ secrets.GITHUB_TOKEN }}"
openai-api-key: "${{ secrets.OPENAI_API_KEY }}"
```
That's it. Your issues are now labeled by powerful AI models! 🧠
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ author: "Austen Stone"
inputs:
token:
description: "The GITHUB_TOKEN secret"
required: true
required: false
default: ${{ github.token }}
openai-api-key:
description: "The OpenAI API key secret"
required: true
Expand Down

0 comments on commit f104426

Please sign in to comment.