Skip to content

Commit

Permalink
[CI] Drop 4XX status refcache entries, fail check when found
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Dec 3, 2023
1 parent 92d9a8b commit 3b4b9c4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,14 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
with: { name: build-log-etc }
- run: npm run diff:fail
- name: Remove entries with HTTP status 4XX from refcache
run: |
if grep -B 1 -e '"StatusCode": 4' static/refcache.json; then
echo "Run 'npx gulp prune' to remove 4xx entries from the refcache"
exit 1
fi
- name: Does the refcache need updating?
run: npm run diff:fail

check-build-log-for-issues:
name: WARNINGS in build log?
Expand Down

0 comments on commit 3b4b9c4

Please sign in to comment.