Skip to content

Commit

Permalink
1. Updated github action yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kenlhlui committed Feb 3, 2025
1 parent 20f3f6f commit 528bdbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/poetry-export_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- name: Check for changes
id: check_changes
run: |
if [[ -n "$(git status --porcelain requirements.txt poetry.lock)" ]]; then
# Use git diff to check actual content changes
if ! git diff --quiet requirements.txt poetry.lock; then
echo "changes=true" >> $GITHUB_OUTPUT
else
echo "changes=false" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 528bdbb

Please sign in to comment.