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

Merge pull request #5564 from anthropics/boris/lptzBrowse files
Fix GitHub Actions workflow to properly escape issue titles
Boris Cherny authored on Aug 11, 2025 · GitHub committed on Aug 11, 2025 parents 27d2c6f + 0662600 · commit 2dbf1e97a085
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 }}"