spacehub

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

Fix GitHub Actions workflow to properly escape issue titlesBrowse files
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>
Boris Cherny authored on Aug 11, 2025 parent 27d2c6f · commit 0662600e9336
1 changed file+2 -2compared with 27d2c6f
M.github/workflows/log-issue-events.yml
@@ -20,7 +20,7 @@
2020 run: |
2121 ISSUE_NUMBER=${{ github.event.issue.number }}
2222 REPO=${{ github.repository }}
23- ISSUE_TITLE="${{ github.event.issue.title }}"
23+ ISSUE_TITLE=$(echo '${{ github.event.issue.title }}' | sed "s/'/'\\\\''/g")
2424 AUTHOR="${{ github.event.issue.user.login }}"
2525 CREATED_AT="${{ github.event.issue.created_at }}"
2626
@@ -84,7 +84,7 @@
8484 run: |
8585 ISSUE_NUMBER=${{ github.event.issue.number }}
8686 REPO=${{ github.repository }}
87- ISSUE_TITLE="${{ github.event.issue.title }}"
87+ ISSUE_TITLE=$(echo '${{ github.event.issue.title }}' | sed "s/'/'\\\\''/g")
8888 CLOSED_BY="${{ github.event.issue.closed_by.login }}"
8989 CLOSED_AT="${{ github.event.issue.closed_at }}"
9090 STATE_REASON="${{ github.event.issue.state_reason }}"