Skip to content

Commit 2acea1b

Browse files
EdwardAngertclaude
andcommitted
fix: use valid output property for changed files
- Fix actionlint error 'property "changed_files_csv" is not defined' - Use changed_files output property instead of changed_files_csv - Convert JSON array to comma-separated list for Vale input - Add null check for better error handling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 454d747 commit 2acea1b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/docs-unified.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,11 @@ jobs:
132132
if: steps.docs-core-setup.outputs.needs_vale == 'true' && steps.docs-core-setup.outputs.has_changes == 'true'
133133
shell: bash
134134
run: |
135-
# Use the CSV of changed files detected by docs-core
136-
CHANGED_FILES="${{ steps.docs-core-setup.outputs.changed_files_csv }}"
137-
if [ -n "$CHANGED_FILES" ]; then
135+
# Use the JSON array of changed files detected by docs-core
136+
CHANGED_FILES_JSON='${{ steps.docs-core-setup.outputs.changed_files }}'
137+
# Convert JSON array to comma-separated list
138+
CHANGED_FILES=$(echo "$CHANGED_FILES_JSON" | jq -r 'join(",")')
139+
if [ -n "$CHANGED_FILES" ] && [ "$CHANGED_FILES" != "null" ]; then
138140
echo "Files to check: $CHANGED_FILES"
139141
echo "files_to_check=$CHANGED_FILES" >> $GITHUB_OUTPUT
140142
else

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy