Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Bump sqlalchemy from 1.4.31 to 2.0.31 #84

Bump sqlalchemy from 1.4.31 to 2.0.31

Bump sqlalchemy from 1.4.31 to 2.0.31 #84

# name: Automatic Data Update
# on:
# schedule:
# - cron: '0 0 */2 * *'
# jobs:
# automatic-data-update:
# name: "Automatic Data Update"
# runs-on: "ubuntu-latest"
# strategy:
# matrix:
# python-version: ["3.9"]
# fail-fast: false
# steps:
# - uses: actions/checkout@v3
# with:
# ref: develop
# - uses: "actions/setup-python@v2"
# with:
# python-version: "${{ matrix.python-version }}"
# - name: "Install Poetry"
# run: "python -m pip install poetry"
# - name: "Install dependencies"
# run: "python -m poetry install"
# - name: "Run Script to Fetch Data"
# run: |
# export PYTHONPATH=.
# python update.py
# - name: "Commit & Push the data"
# run: |
# git config user.name github-actions
# git config user.email [email protected]
# git add .
# git commit -m "Automatic data update"
# git push
# - name: Create Pull Request
# uses: actions/github-script@v6
# with:
# script: |
# const { repo, owner } = context.repo;
# const result = await github.rest.pulls.create({
# title: 'Automatic Data Update',
# owner,
# repo,
# head: '${{ github.ref_name }}',
# base: 'main',
# body: [
# 'Automatic LeetCode data update',
# ]
# });