mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
Update ai_pr_title_review.yml
This commit is contained in:
parent
e8abbfec2e
commit
05001b9dce
12
.github/workflows/ai_pr_title_review.yml
vendored
12
.github/workflows/ai_pr_title_review.yml
vendored
@ -34,10 +34,22 @@ jobs:
|
|||||||
if: github.actor != 'dependabot[bot]'
|
if: github.actor != 'dependabot[bot]'
|
||||||
id: setup-bot
|
id: setup-bot
|
||||||
uses: ./.github/actions/setup-bot
|
uses: ./.github/actions/setup-bot
|
||||||
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
app-id: ${{ secrets.GH_APP_ID }}
|
app-id: ${{ secrets.GH_APP_ID }}
|
||||||
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
- name: Determine GitHub token to use
|
||||||
|
id: resolve-token
|
||||||
|
run: |
|
||||||
|
if [ -n "${{ steps.setup-bot.outputs.token }}" ]; then
|
||||||
|
echo "Using GitHub App bot token"
|
||||||
|
echo "token=${{ steps.setup-bot.outputs.token }}" >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo "Bot setup failed or token missing – falling back to GITHUB_TOKEN"
|
||||||
|
echo "token=${{ github.token }}" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Check if actor is repo developer
|
- name: Check if actor is repo developer
|
||||||
id: actor
|
id: actor
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user