diff --git a/.github/workflows/martian-triage-issue.yml b/.github/workflows/martian-triage-issue.yml index 2789bd7be..8f9608cad 100644 --- a/.github/workflows/martian-triage-issue.yml +++ b/.github/workflows/martian-triage-issue.yml @@ -46,6 +46,9 @@ jobs: - name: Run Claude for Triage uses: ./.github/actions/run-claude + env: + ISSUE_BODY: ${{ github.event.issue.body }} + ISSUE_TITLE: ${{ github.event.issue.title }} with: claude-oauth-token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} github-token: ${{ steps.marvin-token.outputs.token }} @@ -54,12 +57,12 @@ jobs: Repository: ${{ github.repository }} Issue Number: #${{ github.event.issue.number }} - Issue Title: ${{ github.event.issue.title }} + Issue Title: ${{ env.ISSUE_TITLE }} Issue Author: ${{ github.event.issue.user.login }} - ${{ github.event.issue.body }} + ${{ env.ISSUE_BODY }} diff --git a/.github/workflows/marvin-comment-on-issue.yml b/.github/workflows/marvin-comment-on-issue.yml index f70928a5d..0e490fced 100644 --- a/.github/workflows/marvin-comment-on-issue.yml +++ b/.github/workflows/marvin-comment-on-issue.yml @@ -51,6 +51,9 @@ jobs: - name: Run Claude for Issue Comment uses: ./.github/actions/run-claude + env: + COMMENT_BODY: ${{ github.event.comment.body }} + ISSUE_TITLE: ${{ github.event.issue.title }} with: claude-oauth-token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} github-token: ${{ steps.marvin-token.outputs.token }} @@ -61,13 +64,13 @@ jobs: Repository: ${{ github.repository }} Issue Number: #${{ github.event.issue.number }} - Issue Title: ${{ github.event.issue.title }} + Issue Title: ${{ env.ISSUE_TITLE }} Issue Author: ${{ github.event.issue.user.login }} Comment Author: ${{ github.event.comment.user.login }} - ${{ github.event.comment.body }} + ${{ env.COMMENT_BODY }} diff --git a/.github/workflows/marvin-comment-on-pr.yml b/.github/workflows/marvin-comment-on-pr.yml index d927c8059..748c4633c 100644 --- a/.github/workflows/marvin-comment-on-pr.yml +++ b/.github/workflows/marvin-comment-on-pr.yml @@ -72,6 +72,8 @@ jobs: PR_REVIEW_HEAD_SHA: ${{ steps.pr-info.outputs.head_sha }} PR_REVIEW_COMMENTS_DIR: /tmp/pr-review-comments PR_REVIEW_HELPERS_DIR: ${{ github.workspace }}/.github/scripts/pr-review + COMMENT_BODY: ${{ github.event.comment.body }} + PR_TITLE: ${{ github.event.issue.title }} with: claude-oauth-token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} github-token: ${{ steps.marvin-token.outputs.token }} @@ -82,7 +84,7 @@ jobs: Repository: ${{ github.repository }} PR Number: #${{ steps.pr-info.outputs.pr_number }} - PR Title: ${{ github.event.issue.title }} + PR Title: ${{ env.PR_TITLE }} PR Author: ${{ github.event.issue.user.login }} Comment Author: ${{ github.event.comment.user.login }} @@ -90,7 +92,7 @@ jobs: - ${{ github.event.comment.body }} + ${{ env.COMMENT_BODY }}