keep-repo-alive #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: keep-repo-alive | |
on: | |
schedule: | |
- cron: '0 0 */50 * *' # every 50 days | |
workflow_dispatch: | |
jobs: | |
commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Make a dummy commit | |
run: | | |
git config user.name github-action | |
git config user.email [email protected] | |
date > keepalive.txt | |
git commit -am 'Autocommit to keep repo in active state' | |
git push |