tweak: make gh action ignore url mentions of opencode (#1531)

This commit is contained in:
Aiden Cline
2025-08-02 09:31:23 -05:00
committed by GitHub
parent 42a5fcead4
commit ae6e47bb42
2 changed files with 12 additions and 8 deletions

View File

@@ -8,7 +8,9 @@ jobs:
opencode:
if: |
contains(github.event.comment.body, ' /oc') ||
contains(github.event.comment.body, '/opencode')
startsWith(github.event.comment.body, '/oc') ||
contains(github.event.comment.body, ' /opencode') ||
startsWith(github.event.comment.body, '/opencode')
runs-on: ubuntu-latest
permissions:
contents: read

View File

@@ -319,7 +319,9 @@ jobs:
opencode:
if: |
contains(github.event.comment.body, ' /oc') ||
contains(github.event.comment.body, '/opencode')
startsWith(github.event.comment.body, '/oc') ||
contains(github.event.comment.body, ' /opencode') ||
startsWith(github.event.comment.body, '/opencode')
runs-on: ubuntu-latest
permissions:
contents: read