ci: test ci with the workflow file

This commit is contained in:
MoeFurina
2026-08-05 20:44:21 +08:00
parent fc9f41839c
commit 5b780addba
5 changed files with 270 additions and 111 deletions
+7 -4
View File
@@ -14,10 +14,13 @@ permissions:
jobs:
bot:
if: |
contains(github.event.comment.body, ' /oc') ||
startsWith(github.event.comment.body, '/oc') ||
contains(github.event.comment.body, ' /opencode') ||
startsWith(github.event.comment.body, '/opencode')
(contains(github.event.comment.body, ' /oc') ||
startsWith(github.event.comment.body, '/oc') ||
contains(github.event.comment.body, ' /opencode') ||
startsWith(github.event.comment.body, '/opencode')) &&
github.actor != 'opencode-agent[bot]' &&
github.actor != 'takanashi-hoshino-agent[bot]' &&
github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
permissions:
contents: read