Skip to content

collect

collect #3014

Workflow file for this run

name: collect
on:
push:
branches:
- main
schedule:
- cron: "0,30 1,3 * * *"
- cron: "0 */2 * * *"
workflow_dispatch:
jobs:
collect:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install the project
run: cd src && uv sync --locked
- name: Collect
run: |
cd src && uv run main.py
- name: Commit && Push
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add dist README.md
git diff-index --quiet HEAD dist README.md || git commit -m "feat: update collect"
git push