Update #870
This file contains 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: Update | |
on: | |
schedule: | |
- cron: '35 8 * * *' | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
pip3 install svn | |
- name: Configure Git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "modm update bot" | |
- name: Run update.py script | |
run: | | |
python3 update.py | |
- name: Git push | |
run: | | |
git push origin master | |
- name: Keep Alive | |
if: always() | |
uses: gautamkrishnar/keepalive-workflow@v1 | |
with: | |
committer_username: modm update bot | |
committer_email: [email protected] |