Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'keep alive' workflow and tox4 fix #116

Merged
merged 3 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/keep-alive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
datethen=`date -d "-50 days" --utc +%FT%TZ`
echo "datelimit=$datethen" >> $GITHUB_ENV
- name: setup git config
if: github.event.base.repo.updated_at <= env.datelimit
if: github.event.repository.pushed_at <= env.datelimit
run: |
# setup the username and email.
git config user.name "Github Actions Keepalive Bot"
git config user.email "<>"
- name: commit IF last commit is older than 50 days
if: github.event.base.repo.updated_at <= env.datelimit
if: github.event.repository.pushed_at <= env.datelimit
run: |
git commit -m "Empty commit to keep the gihub workflows alive" --allow-empty
git push origin master
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[tox]
envlist = py3-{functional,style,syntax}
minversion = 4

[gh-actions]
python =
Expand All @@ -22,9 +23,9 @@ deps =
docs,upload_docs,firefox: sphinx
docs,upload_docs,firefox: sphinx-bluebrain-theme
upload_docs: docs-internal-upload>=0.0.8
whitelist_externals =
allowlist_externals =
make
passenv = https_proxy USER KRB5CCNAME
passenv = https_proxy, USER, KRB5CCNAME
commands =
make clean

Expand Down