Skip to content

Touch auto_commited #41

Touch auto_commited

Touch auto_commited #41

# To prevent the repository inactive that will prevent the github actions to run after 60 days
# We generate a commit monthly to a file that make the repository "active"
name: Touch auto_commited
on:
schedule:
- cron: "0 0 1 * *" # This is running monthly
jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: master
- name: Update commit file
run: date +%Y%m%s%H%M%S > auto_commited
- name: Commit
run: |
git config --global user.name 'Deploy Bot'
git config --global user.email '[email protected]'
git add auto_commited
git commit -m "Automated commit"
git push