Update test-action-local.yml

This commit is contained in:
Luke Hagar
2025-08-15 09:13:01 -05:00
committed by GitHub
parent ada6be523f
commit f279fef5fa

View File

@@ -73,7 +73,7 @@ jobs:
json-output-path: 'stats.json' json-output-path: 'stats.json'
update-readme: 'true' update-readme: 'true'
readme-path: 'Test-Readme.md' readme-path: 'Test-Readme.md'
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.PAT_TOKEN }}
- name: Check generated outputs - name: Check generated outputs
run: | run: |
@@ -94,4 +94,4 @@ jobs:
run: | run: |
echo "=== Validating stats.json ===" echo "=== Validating stats.json ==="
test -f stats.json || (echo "❌ stats.json not found" && exit 1) test -f stats.json || (echo "❌ stats.json not found" && exit 1)
jq -e 'type == "array" and length >= 1' stats.json > /dev/null || (echo "❌ stats.json not in expected format" && exit 1) jq -e 'type == "array" and length >= 1' stats.json > /dev/null || (echo "❌ stats.json not in expected format" && exit 1)