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