surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
Prevents shell execution of backticks in issue titles by using single quotes and sed escaping. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
| @@ -20,7 +20,7 @@ | ||
| 20 | 20 | run: | |
| 21 | 21 | ISSUE_NUMBER=${{ github.event.issue.number }} |
| 22 | 22 | REPO=${{ github.repository }} |
| 23 | - ISSUE_TITLE="${{ github.event.issue.title }}" | |
| 23 | + ISSUE_TITLE=$(echo '${{ github.event.issue.title }}' | sed "s/'/'\\\\''/g") | |
| 24 | 24 | AUTHOR="${{ github.event.issue.user.login }}" |
| 25 | 25 | CREATED_AT="${{ github.event.issue.created_at }}" |
| 26 | 26 | |
| @@ -84,7 +84,7 @@ | ||
| 84 | 84 | run: | |
| 85 | 85 | ISSUE_NUMBER=${{ github.event.issue.number }} |
| 86 | 86 | REPO=${{ github.repository }} |
| 87 | - ISSUE_TITLE="${{ github.event.issue.title }}" | |
| 87 | + ISSUE_TITLE=$(echo '${{ github.event.issue.title }}' | sed "s/'/'\\\\''/g") | |
| 88 | 88 | CLOSED_BY="${{ github.event.issue.closed_by.login }}" |
| 89 | 89 | CLOSED_AT="${{ github.event.issue.closed_at }}" |
| 90 | 90 | STATE_REASON="${{ github.event.issue.state_reason }}" |