mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-08-26 07:29:40 +00:00
fix: update workflow name and change GitHub token secret
This commit is contained in:
6
.github/workflows/pr-description.yml
vendored
6
.github/workflows/pr-description.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: 🤖 AI PR Description Commenter (Safe Mode)
|
name: 🤖 AI PR Description Commenter
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
echo "$COMMITS" >> $GITHUB_ENV
|
echo "$COMMITS" >> $GITHUB_ENV
|
||||||
echo "EOF" >> $GITHUB_ENV
|
echo "EOF" >> $GITHUB_ENV
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_PERSONAL_TOKEN }}
|
||||||
|
|
||||||
- name: Generate PR Description with OpenAI
|
- name: Generate PR Description with OpenAI
|
||||||
id: generate_description
|
id: generate_description
|
||||||
@ -53,4 +53,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
gh pr comment ${{ github.event.pull_request.number }} --body "${{ env.description }}"
|
gh pr comment ${{ github.event.pull_request.number }} --body "${{ env.description }}"
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_PERSONAL_TOKEN }}
|
||||||
|
Reference in New Issue
Block a user