Skip to content

Codeforces Auto-Commit #905

Codeforces Auto-Commit

Codeforces Auto-Commit #905

name: Codeforces Auto-Commit
on:
schedule:
- cron: '*/30 * * * *' # Runs every 30 minutes
workflow_dispatch: # Allows manual trigger
jobs:
auto-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Run auto-commit script
env:
CODEFORCES_HANDLE: ${{ secrets.CODEFORCES_HANDLE }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
GITHUB_REPO: ${{ github.repository }}
run: python .github/workflows/codeforces_auto_commit.py