File tree Expand file tree Collapse file tree
packages/opencode/src/cli/cmd Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77jobs :
88 opencode :
99 if : |
10- contains(github.event.comment.body, '/oc') ||
11- contains(github.event.comment.body, '/opencode')
10+ contains(github.event.comment.body, ' /oc') ||
11+ startsWith(github.event.comment.body, '/oc') ||
12+ contains(github.event.comment.body, ' /opencode') ||
13+ startsWith(github.event.comment.body, '/opencode')
1214 runs-on : ubuntu-latest
1315 permissions :
1416 contents : read
2426 env :
2527 ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
2628 with :
27- model : anthropic/claude-sonnet-4-20250514
29+ model : anthropic/claude-sonnet-4-20250514
Original file line number Diff line number Diff line change 318318jobs:
319319 opencode:
320320 if: |
321- contains(github.event.comment.body, '/oc') ||
322- contains(github.event.comment.body, '/opencode')
321+ contains(github.event.comment.body, ' /oc') ||
322+ startsWith(github.event.comment.body, '/oc') ||
323+ contains(github.event.comment.body, ' /opencode') ||
324+ startsWith(github.event.comment.body, '/opencode')
323325 runs-on: ubuntu-latest
324326 permissions:
325327 contents: read
@@ -784,7 +786,7 @@ export const GithubRunCommand = cmd({
784786 console . log ( "Pushing to new branch..." )
785787 await $ `git add .`
786788 await $ `git commit -m "${ summary }
787-
789+
788790Co-authored-by: ${ actor } <${ actor } @users.noreply.github.com>"`
789791 await $ `git push -u origin ${ branch } `
790792 }
@@ -793,7 +795,7 @@ Co-authored-by: ${actor} <${actor}@users.noreply.github.com>"`
793795 console . log ( "Pushing to local branch..." )
794796 await $ `git add .`
795797 await $ `git commit -m "${ summary }
796-
798+
797799Co-authored-by: ${ actor } <${ actor } @users.noreply.github.com>"`
798800 await $ `git push`
799801 }
@@ -805,7 +807,7 @@ Co-authored-by: ${actor} <${actor}@users.noreply.github.com>"`
805807
806808 await $ `git add .`
807809 await $ `git commit -m "${ summary }
808-
810+
809811Co-authored-by: ${ actor } <${ actor } @users.noreply.github.com>"`
810812 await $ `git push fork HEAD:${ remoteBranch } `
811813 }
You can’t perform that action at this time.
0 commit comments