Compare commits

..

No commits in common. "6c3deb1c6e39622673899fc747c56877fc01fe06" and "a8ae4c20b06e8d34c37087f93585321ee425f1c5" have entirely different histories.

2 changed files with 5 additions and 3 deletions

View File

@ -14,8 +14,10 @@ jobs:
claude-bot:
runs-on: native
if: >-
github.actor != 'obsidiandeploy' &&
(github.event_name != 'issue_comment' || github.event.issue.pull_request)
(github.event_name == 'pull_request') ||
(github.event_name == 'pull_request_review') ||
(github.event_name == 'pull_request_review_comment') ||
(github.event_name == 'issue_comment' && github.event.issue.pull_request)
steps:
- uses: actions/checkout@v4
- name: Run Claude Bot

View File

@ -28,7 +28,7 @@ loadConfig = do
repository <- requireEnv "GITHUB_REPOSITORY"
eventName <- requireEnv "GITHUB_EVENT_NAME"
eventPath <- requireEnv "GITHUB_EVENT_PATH"
runId <- lookupEnvText "GITHUB_RUN_NUMBER" ""
runId <- lookupEnvText "GITHUB_RUN_ID" ""
trigger <- lookupEnvText "INPUT_TRIGGER_PHRASE" "@claude"
let repoText = T.pack repository