PR agent Owner

This commit is contained in:
darrenhinde 2025-08-26 00:30:25 +01:00
parent 338199f091
commit 44764c40e4

View file

@ -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