From 44764c40e49fa3f36929b49c60346f46463144ba Mon Sep 17 00:00:00 2001 From: darrenhinde <107584450+darrenhinde@users.noreply.github.com> Date: Tue, 26 Aug 2025 00:30:25 +0100 Subject: [PATCH] PR agent Owner --- .github/workflows/opencode.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml index 7204c3c..4da884a 100644 --- a/.github/workflows/opencode.yml +++ b/.github/workflows/opencode.yml @@ -7,8 +7,10 @@ on: jobs: opencode: if: | - contains(github.event.comment.body, '/oc') || - contains(github.event.comment.body, '/opencode') + (contains(github.event.comment.body, '/oc') || + contains(github.event.comment.body, '/opencode')) && + (github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'MEMBER') runs-on: ubuntu-latest permissions: id-token: write