We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7cce46 commit 9e62541Copy full SHA for 9e62541
.github/workflows/cron.yaml
@@ -40,8 +40,20 @@ jobs:
40
- name: Check for changes
41
id: check-changes
42
run: |
43
- if [[ -n "$(git status --porcelain)" ]]; then
+ echo "Current working directory:"
44
+ pwd
45
+ echo "Files in current directory:"
46
+ ls -la
47
+ echo "Git status output:"
48
+ git status --porcelain
49
+ echo "All git status (including untracked):"
50
+ git status --porcelain --untracked-files=all
51
+ if [[ -n "$(git status --porcelain --untracked-files=all)" ]]; then
52
echo "changes=true" >> $GITHUB_OUTPUT
53
+ echo "Changes detected!"
54
+ else
55
+ echo "changes=false" >> $GITHUB_OUTPUT
56
+ echo "No changes detected"
57
fi
58
59
- name: Commit and push if changed
0 commit comments