We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fb07f2 commit c43cfe2Copy full SHA for c43cfe2
1 file changed
.github/workflows/hourly-commit.yml
@@ -16,18 +16,8 @@ jobs:
16
with:
17
fetch-depth: 2
18
19
- - name: Check timing and update
+ - name: Commit and push
20
run: |
21
- LAST_COMMIT=$(git log -1 --format=%ct)
22
- NOW=$(date +%s)
23
- DIFF=$((NOW - LAST_COMMIT))
24
-
25
- if [ $DIFF -lt 3300 ]; then
26
- echo "Only $((DIFF / 60))m since last commit — skipping."
27
- exit 0
28
- fi
29
30
- echo "Last commit was $((DIFF / 60))m ago — committing."
31
date > .github/.keep_active
32
git config --global user.name "HOLYKEYZ"
33
git config --global user.email "ayandajoseph390@gmail.com"
0 commit comments