Skip to content

Commit 18711d3

Browse files
authored
Fix security issue (#9652)
1 parent 18286a0 commit 18711d3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/jules_bot_action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
JULES_KEY: ${{ secrets.JULES_KEY }}
3030
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3131
GOOGLE_API_KEY: ${{ secrets.GEMINI_API_KEY }}
32+
ISSUE_TITLE: ${{ github.event.issue.title }}
33+
ISSUE_NUMBER: ${{ github.event.issue.number }}
34+
ISSUE_BODY: ${{ github.event.issue.body }}
35+
ISSUE_URL: ${{ github.event.issue.html_url }}
3236
run: |
33-
printf -v PROMPT "%q\n" "Triage this new issue: ${{ github.event.issue.title }} ${{ github.event.issue.number }} ${{ github.event.issue.body }} ${{ github.event.issue.html_url }}"
34-
python julesbot/issues_call.py --prompt "$PROMPT"
37+
python julesbot/issues_call.py --prompt "Triage this new issue: $ISSUE_TITLE $ISSUE_NUMBER $ISSUE_BODY $ISSUE_URL"

0 commit comments

Comments
 (0)