Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelemusiani committed Oct 31, 2024
1 parent 77d2451 commit 993007a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check_repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
run: |
bash -c '
OK=true
echo "Checking repos..."
for r in $(jq -r '.[].url' < ./teachings.json); do
if [ $(curl -s -o /dev/null -w "%{http_code}" https://github.com/$GITHUB_REPOSITORY_OWNER/$r) -eq 404 ]; then
echo $r NOT FOUND;
Expand All @@ -22,6 +25,7 @@ jobs:
done
if ! $OK; then
echo "Some repos do not exist"
exit 1
fi
'
Expand Down

0 comments on commit 993007a

Please sign in to comment.