Skip to content

Check Update

Check Update #10

Workflow file for this run

name: Check Update
on:
schedule:
# Runs at 00:00 UTC every Monday
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
check_update:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./src/requirements.txt
- name: Run a script
run: python ./src/main.py
- name: Commit and push
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: 'action: check update'