mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-12 21:01:56 +08:00
27 lines
691 B
YAML
27 lines
691 B
YAML
name: Update requirements
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'pyproject.toml'
|
|
- '.github/workflows/update-requirements.yml'
|
|
|
|
jobs:
|
|
update:
|
|
name: Update requirements
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install the latest version of rye
|
|
uses: eifinger/setup-rye@v3
|
|
- name: Build app
|
|
run: rye run update-requirements
|
|
commit:
|
|
name: Commit changes
|
|
run: |
|
|
git config --global user.name 'github-actions'
|
|
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
|
git add .
|
|
git commit -m "ci: update requirements.txt [skip ci]"
|
|
git push
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|