renovate - Only test (#281)

* Skip build and review for Renovate PRs, only run tests

Modified CI workflows to optimize Renovate PRs:
- Skip Docker build and merge-and-push jobs for Renovate PRs
- Skip Claude code review for Renovate PRs
- Tests still run for all PRs including Renovate

This reduces CI time and resource usage for dependency update PRs.

* Remove redundant condition from merge-and-push job

The merge-and-push job depends on build job, so it won't run if build is skipped.

---------

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Jakub Orchowski
2025-11-20 01:39:54 +01:00
committed by GitHub
co-authored by Claude
parent 14ce9f5bdf
commit 4f7edf7411
2 changed files with 4 additions and 5 deletions
+2 -5
View File
@@ -12,11 +12,8 @@ on:
jobs:
claude-review:
# Optional: Filter by PR author
# if: |
# github.event.pull_request.user.login == 'external-contributor' ||
# github.event.pull_request.user.login == 'new-developer' ||
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
# Skip review for Renovate PRs
if: github.event.pull_request.user.login != 'renovate[bot]'
runs-on: ubuntu-latest
permissions:
+2
View File
@@ -72,6 +72,8 @@ jobs:
build:
needs: test
# Skip build for Renovate PRs
if: github.event.pull_request.user.login != 'renovate[bot]'
runs-on: ubuntu-latest
permissions:
contents: read