Skip to content

Commit d677e5b

Browse files
committed
update cron
1 parent 5707060 commit d677e5b

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/hourly-commit.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ jobs:
5050
5151
- name: Commit and push
5252
run: |
53+
git config --global user.name "HOLYKEYZ"
54+
git config --global user.email "ayandajoseph390@gmail.com"
55+
56+
# Always update activity timestamp - forces a commit
57+
echo "Last sync: $(date -u '+%Y-%m-%d %H:%M:%S UTC')" > .github/activity_tracker.txt
58+
5359
git add -A
54-
if git diff --staged --quiet; then
55-
echo "No changes to commit"
56-
else
57-
git commit -m "chore: $(date -u '+%Y-%m-%d %H:%M') update"
58-
git push
59-
fi
60+
git commit -m "chore: $(date -u '+%Y-%m-%d %H:%M') sync"
61+
git push

0 commit comments

Comments
 (0)