fix: update workflow name and change GitHub token secret

This commit is contained in:
faris Aljohari
2025-07-15 23:38:57 -06:00
parent a4095c837b
commit 8d265c9105

View File

@ -1,4 +1,4 @@
name: 🤖 AI PR Description Commenter (Safe Mode)
name: 🤖 AI PR Description Commenter
on:
pull_request:
@ -25,7 +25,7 @@ jobs:
echo "$COMMITS" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_PERSONAL_TOKEN }}
- name: Generate PR Description with OpenAI
id: generate_description
@ -53,4 +53,4 @@ jobs:
run: |
gh pr comment ${{ github.event.pull_request.number }} --body "${{ env.description }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_PERSONAL_TOKEN }}