Update sources #22587
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 sources | |
on: | |
schedule: | |
- cron: '25,55 * * * *' | |
workflow_dispatch: | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10.x' | |
- name: Install packages | |
run: | | |
pip install altparse | |
- name: Run python scripts | |
run: | | |
python update.py | |
- name: Git add and commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: '--all' | |
default_author: github_actions |