π The fast, Pythonic way to build MCP servers and clients.
Security: Fix 3 findings in GitHub Actions workflows (#4183)
Jordan Ritter1222e8e47a96
diff --git a/.github/workflows/martian-triage-issue.yml b/.github/workflows/martian-triage-issue.ymlindex 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 Triageuses: ./.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:<context>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 }}</context><issue_body>- ${{ github.event.issue.body }}+ ${{ env.ISSUE_BODY }}</issue_body><task>diff --git a/.github/workflows/marvin-comment-on-issue.yml b/.github/workflows/marvin-comment-on-issue.ymlindex 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 Commentuses: ./.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:<context>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 }}</context><user_request>- ${{ github.event.comment.body }}+ ${{ env.COMMENT_BODY }}</user_request><task>diff --git a/.github/workflows/marvin-comment-on-pr.yml b/.github/workflows/marvin-comment-on-pr.ymlindex 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-commentsPR_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:<context>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:</context><user_request>- ${{ github.event.comment.body }}+ ${{ env.COMMENT_BODY }}</user_request><task>