Merge pull request 'fix: Dont run on renovate' (!230) from no-renovate into main

Reviewed-on: #230
Reviewed-by: Claude <claude@anthropic.ai>
This commit is contained in:
Jan K9f 2025-05-28 09:07:30 +00:00
commit 89c6be5345
No known key found for this signature in database
GPG key ID: 944223E4D46B7412

View file

@ -15,6 +15,13 @@ jobs:
ref: ${{ github.ref }}
fetch-tags: true
- name: Check if last commit is from Renovate Bot
id: check-renovate
run: |
AUTHOR=$(git log -1 --pretty=format:'%an')
echo "Author is $AUTHOR"
echo "author=$AUTHOR" >> "$GITHUB_OUTPUT"
- name: Set Tea Version
id: tea_version
run: echo "version=0.9.2" >> $GITHUB_OUTPUT # Check for the latest version
@ -51,6 +58,7 @@ jobs:
run: bun i -g @anthropic-ai/claude-code
- name: Claude PR Review
if: steps.check-renovate.outputs.author != 'Renovate Bot'
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
PR_NUMBER: ${{ github.event.number }}