Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

run-cron

run-cron #90

Workflow file for this run

name: run-cron
on:
schedule:
- cron: '0 12 * * 0'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
architecture: 'x64'
- run: |
python -m pip install --upgrade pip
pip install requests python-leetcode
- run: |
python cron/update_questions.py
env:
LEETCODE_SESSION_TOKEN: ${{ secrets.LEETCODE_SESSION_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update questions via run-cron GitHub Action
Morty Proxy This is a proxified and sanitized view of the page, visit original site.