From 8d265c9105636f711f020acb15688dbfdd8c2191 Mon Sep 17 00:00:00 2001 From: faris Aljohari <83524184+farisaljohari@users.noreply.github.com> Date: Tue, 15 Jul 2025 23:38:57 -0600 Subject: [PATCH] fix: update workflow name and change GitHub token secret --- .github/workflows/pr-description.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-description.yml b/.github/workflows/pr-description.yml index 307e117..d9146a3 100644 --- a/.github/workflows/pr-description.yml +++ b/.github/workflows/pr-description.yml @@ -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 }}