Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit ed93960

Browse files
Merge pull request #437 from BlueBrain/cron-workflow
Fix 'keep alive' workflow
2 parents ff6ffef + 5374d86 commit ed93960

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/keep-alive.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
echo "datelimit=$datethen" >> $GITHUB_ENV
2424
2525
- name: setup git config
26-
if: github.event.base.repo.updated_at <= env.datelimit
26+
if: github.event.repository.pushed_at <= env.datelimit
2727
run: |
2828
# setup the username and email.
2929
git config user.name "Github Actions Keepalive Bot"
3030
git config user.email "<>"
3131
3232
- name: commit IF last commit is older than 50 days
33-
if: github.event.base.repo.updated_at <= env.datelimit
33+
if: github.event.repository.pushed_at <= env.datelimit
3434
run: |
3535
git commit -m "Empty commit to keep the gihub workflows alive" --allow-empty
3636
git push origin master

0 commit comments

Comments
 (0)