Skip to content

Commit 71295e6

Browse files
committed
chore: fix post formatting
1 parent e38a5d3 commit 71295e6

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/bluesky-post.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,17 @@ jobs:
4141
4242
# Parse markdown links and calculate facets using Python
4343
echo "Parsing markdown and calculating facets..."
44-
export INPUT_TEXT="${{ inputs.post_text }}"
44+
45+
# Write input to temp file to avoid shell escaping issues
46+
cat > /tmp/post_input.txt << 'INPUTEOF'
47+
${{ inputs.post_text }}
48+
INPUTEOF
4549
4650
RESULT=$(python3 << 'PYEOF'
47-
import json, re, os
51+
import json, re
4852
49-
input_text = os.environ['INPUT_TEXT']
53+
with open('/tmp/post_input.txt', 'r') as f:
54+
input_text = f.read().strip()
5055
5156
# Parse markdown links [text](url) and build facets
5257
facets = []

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
CLAUDE.local.md

0 commit comments

Comments
 (0)