Skip to content

Commit 7f05bd3

Browse files
fix: use CI bot to generate token
Co-authored-by: Adrian Lyjak <adrianlyjak@gmail.com>
1 parent 24e490f commit 7f05bd3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/issue_classifier.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,18 @@ jobs:
1111
- uses: actions/checkout@v6
1212
with:
1313
fetch-depth: 0
14+
steps:
15+
- name: Generate GitHub App token
16+
id: app-token
17+
uses: actions/create-github-app-token@v1
18+
with:
19+
app-id: ${{ secrets.CI_BOT_APP_ID }}
20+
private-key: ${{ secrets.CI_BOT_PRIVATE_KEY }}
21+
1422
- name: Classify Issues as Good First Issues
1523
uses: run-llama/issue-classifier@v0.1.0
1624
with:
1725
llama-cloud-api-key: ${{ secrets.LLAMA_CLOUD_API_KEY }}
18-
github-token: ${{ secrets.GITHUB_TOKEN }}
26+
github-token: ${{ steps.app-token.outputs.token }}
1927
repository-owner: "run-llama"
2028
repository-name: "llama_index"

0 commit comments

Comments
 (0)