Skip to content

Commit

Permalink
fix: CI git command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Almas-Ali committed May 31, 2024
1 parent 1e540fe commit 28173cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Check for changes in docs/ or mkdocs.yml
id: check_changes
run: |
git diff --name-only > changed_files.txt
git diff --name-only HEAD^ HEAD > changed_files.txt
if grep -qE '(^docs/|^mkdocs.yml)' changed_files.txt; then
echo "changes_detected=true" >> $GITHUB_ENV
else
Expand Down

0 comments on commit 28173cf

Please sign in to comment.