diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index e028d38..84b12a4 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -27,8 +27,7 @@ jobs: if: > github.event_name == 'pull_request' && (! github.event.pull_request.draft) - && (! startsWith(github.head_ref, 'dependabot/')) - && (! startsWith(github.head_ref, 'renovate/')) + && github.event.pull_request.user.type != 'Bot' permissions: contents: read pull-requests: write diff --git a/.github/workflows/opencode-bot.yml b/.github/workflows/opencode-bot.yml index ad84a60..8cd83e9 100644 --- a/.github/workflows/opencode-bot.yml +++ b/.github/workflows/opencode-bot.yml @@ -116,6 +116,7 @@ jobs: if: > ( (github.event_name == 'issue_comment' || github.event_name == 'pull_request_review_comment') + && github.event.comment.user.type != 'Bot' && contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association) && ( inputs.model != '' diff --git a/.github/workflows/opencode-review.yml b/.github/workflows/opencode-review.yml index 629dd60..3eefbff 100644 --- a/.github/workflows/opencode-review.yml +++ b/.github/workflows/opencode-review.yml @@ -118,8 +118,7 @@ jobs: || ( contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.pull_request.author_association) && (! github.event.pull_request.draft) - && (! startsWith(github.head_ref, 'dependabot/')) - && (! startsWith(github.head_ref, 'renovate/')) + && github.event.pull_request.user.type != 'Bot' ) ) runs-on: ${{ inputs.runs-on || 'ubuntu-latest' }}