Skip to content

Commit

Permalink
fix List generated policy files of ci
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyatomohiro committed Dec 12, 2024
1 parent 031ea69 commit 8c9c767
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci_policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
working-directory: api
- name: List generated policy files
run: |
set -eo pipefail
echo "Generated policy files in api/policies/:"
ls -la policies/ || echo "No files found"
if [ -d "policies" ] && [ "$(ls -A policies/)" ]; then
Expand All @@ -36,6 +37,7 @@ jobs:
done
else
echo "No policy files were generated"
exit 1
fi
working-directory: api
- name: Setup Cerbos
Expand Down

0 comments on commit 8c9c767

Please sign in to comment.