diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4597f4e..643c9d3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -14,7 +14,7 @@ updates: - "dependencies" - "python" commit-message: - prefix: "chore(deps)" + prefix: "chore" include: "scope" groups: python-dependencies: @@ -42,7 +42,7 @@ updates: - "dependencies" - "github-actions" commit-message: - prefix: "chore(deps)" + prefix: "chore" include: "scope" groups: github-actions: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f288647..6ff2e53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -212,7 +212,7 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4 - if: always() + if: always() && github.actor != 'dependabot[bot]' with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml,./junit.xml @@ -223,7 +223,7 @@ jobs: - name: Publish test results uses: dorny/test-reporter@d61b558e8df85cb60d09ca3e5b09653b4477cea7 # v1 - if: always() + if: always() && github.actor != 'dependabot[bot]' with: name: Test Results path: junit.xml diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 205b0fe..611f02d 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -3,15 +3,14 @@ name: Claude Code Review on: pull_request: types: [opened, synchronize] - # Optional: Only run on specific file changes - # paths: - # - "src/**/*.ts" - # - "src/**/*.tsx" - # - "src/**/*.js" - # - "src/**/*.jsx" + # Don't run when workflow files are modified (causes validation errors) + paths-ignore: + - '.github/workflows/**' jobs: claude-review: + # Skip for Dependabot PRs as they don't have access to secrets + if: github.actor != 'dependabot[bot]' # Optional: Filter by PR author # if: | # github.event.pull_request.user.login == 'external-contributor' || @@ -54,4 +53,3 @@ jobs: # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md # or https://docs.claude.com/en/docs/claude-code/cli-reference for available options claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"' -