Update Projects #18241
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 Projects | |
on: | |
schedule: | |
# Runs every hour | |
- cron: '0 * * * *' | |
workflow_dispatch: | |
jobs: | |
version-bump: | |
name: Update Projects | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v2 | |
- name: Pull the latest changes | |
run: | | |
git config user.name tinkerhub-bot | |
git config user.email bot@tinkerhub.org | |
git submodule update --remote --init || true | |
- name: Commit changes | |
run: | | |
git add --all || true | |
git commit -m "Updated projects" || true | |
git push --quiet | |
- name: Repository keepalive | |
uses: gautamkrishnar/keepalive-workflow@master |