github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
133396 | 1 | 26772 | 107914493 | zofrex/mirror-branch@ea152f124954fa4eb26eea3fe0dbe313a3a08d94 | Mirror to "master" | {"target-branch": "master", "force": false} | |||
133397 | 2 | 26772 | 107914493 | zofrex/mirror-branch@ea152f124954fa4eb26eea3fe0dbe313a3a08d94 | Mirror to "main" | {"target-branch": "main", "force": false} | |||
136814 | 1 | 27456 | 611552758 | actions/checkout@v3 | |||||
136815 | 2 | 27456 | 611552758 | actions/setup-python@v4 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}", "cache": "pip", "cache-dependency-path": "setup.py"} | |||
136816 | 3 | 27456 | 611552758 | Install dependencies | pip install '.[test]' | ||||
136817 | 4 | 27456 | 611552758 | Run tests | pytest | ||||
136818 | 1 | 27457 | 611552758 | actions/checkout@v3 | |||||
136819 | 2 | 27457 | 611552758 | actions/setup-python@v4 | Set up Python | {"python-version": "3.11", "cache": "pip", "cache-dependency-path": "setup.py"} | |||
136820 | 3 | 27457 | 611552758 | Install dependencies | pip install setuptools wheel twine build | ||||
136821 | 4 | 27457 | 611552758 | Publish | python -m build twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136822 | 1 | 27458 | 611552758 | actions/checkout@v3 | |||||
136823 | 2 | 27458 | 611552758 | actions/setup-python@v4 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}", "cache": "pip", "cache-dependency-path": "setup.py"} | |||
136824 | 3 | 27458 | 611552758 | Install dependencies | pip install '.[test]' | ||||
136825 | 4 | 27458 | 611552758 | Run tests | pytest | ||||
136826 | 5 | 27458 | 611552758 | Check if README is up-to-date | cog --check README.md | ||||
136827 | 1 | 27459 | 197431109 | actions/checkout@v2 | |||||
136828 | 2 | 27459 | 197431109 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136829 | 3 | 27459 | 197431109 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136830 | 4 | 27459 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
136831 | 5 | 27459 | 197431109 | Run tests | pytest -v | ||||
136832 | 1 | 27460 | 197431109 | actions/checkout@v2 | |||||
136833 | 2 | 27460 | 197431109 | actions/setup-python@v2 | Set up Python | {"python-version": "3.8"} | |||
136834 | 3 | 27460 | 197431109 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n"} | |||
136835 | 4 | 27460 | 197431109 | Install dependencies | pip install setuptools wheel twine | ||||
136836 | 5 | 27460 | 197431109 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136837 | 1 | 27461 | 197431109 | actions/checkout@v2 | |||||
136838 | 2 | 27461 | 197431109 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136839 | 3 | 27461 | 197431109 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136840 | 4 | 27461 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
136841 | 5 | 27461 | 197431109 | Run tests | pytest -v | ||||
136842 | 1 | 27462 | 256834907 | actions/checkout@v2 | |||||
136843 | 2 | 27462 | 256834907 | actions/setup-python@v1 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136844 | 3 | 27462 | 256834907 | actions/cache@v1 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136845 | 4 | 27462 | 256834907 | Install dependencies | python -m pip install --upgrade pip pip install -e .[test] | ||||
136846 | 5 | 27462 | 256834907 | Test with pytest | pytest | ||||
136847 | 1 | 27463 | 303218369 | actions/checkout@v2 | |||||
136848 | 2 | 27463 | 303218369 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136849 | 3 | 27463 | 303218369 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136850 | 4 | 27463 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
136851 | 5 | 27463 | 303218369 | Run tests | pytest | ||||
136852 | 1 | 27464 | 303218369 | actions/checkout@v2 | |||||
136853 | 2 | 27464 | 303218369 | actions/setup-python@v2 | Set up Python | {"python-version": "3.9"} | |||
136854 | 3 | 27464 | 303218369 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n"} | |||
136855 | 4 | 27464 | 303218369 | Install dependencies | pip install setuptools wheel twine | ||||
136856 | 5 | 27464 | 303218369 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136857 | 1 | 27465 | 303218369 | actions/checkout@v2 | |||||
136858 | 2 | 27465 | 303218369 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136859 | 3 | 27465 | 303218369 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136860 | 4 | 27465 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
136861 | 5 | 27465 | 303218369 | Run tests | pytest | ||||
136862 | 1 | 27466 | 207052882 | actions/checkout@v2 | Check out repo | ||||
136863 | 2 | 27466 | 207052882 | actions/setup-python@v1 | Set up Python | {"python-version": "3.9"} | |||
136864 | 3 | 27466 | 207052882 | actions/cache@v1 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136865 | 4 | 27466 | 207052882 | Install Python dependencies | python -m pip install --upgrade pip pip install sqlite-utils>=3.1 sqlite-utils --version pip install -e . pip install datasette pip install bs4 | ||||
136866 | 5 | 27466 | 207052882 | Create auth.json | echo "{\"github_personal_token\": \"$GITHUB_ACCESS_TOKEN\"}" > auth.json | {"GITHUB_ACCESS_TOKEN": "${{ secrets.GH_TOKEN }}"} | |||
136867 | 6 | 27466 | 207052882 | Fetch previous copy of database | # So we can keep track of when we first saw each dependent repo wget https://github-to-sqlite.dogsheep.net/github.db | !contains(github.event.head_commit.message, 'REFRESH_DB') | |||
136868 | 7 | 27466 | 207052882 | Fetch the repos | github-to-sqlite repos github.db dogsheep sqlite-utils tables --counts github.db | ||||
136869 | 8 | 27466 | 207052882 | Fetch releases, commits, issues, contributors | sqlite-utils github.db "select full_name from repos where owner = 53015001 union select 'simonw/datasette' as full_name union select 'simonw/sqlite-utils' as full_name" \ --csv --no-headers | while read repo; do github-to-sqlite releases \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite commits \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite tags \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite contributors \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite issues \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite pull-requests \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite issue-comments \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite stargazers \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite workflows \ github.db $(echo $repo | tr -d '\r'); sleep 10; done; # Scrape dependents github-to-sqlite scrape-dependents github.db simonw/datasette simonw/sqlite-utils -v sqlite-utils tables --counts github.db # Delete email addresses from raw_authors sqlite-utils github.db "update raw_authors set email = ''" # Fetch emojis github-to-sqlite emojis github.db --fetch # Rebuild FTS tables sqlite-utils rebuild-fts github.db # Populate _analyze_tables_ table sqlite-utils analyze-tables github.db --save | ||||
136870 | 9 | 27466 | 207052882 | actions/upload-artifact@v2 | {"path": "github.db"} | ||||
136871 | 10 | 27466 | 207052882 | google-github-actions/setup-gcloud@v0 | Set up Cloud Run | {"version": "318.0.0", "service_account_email": "${{ secrets.GCP_SA_EMAIL }}", "service_account_key": "${{ secrets.GCP_SA_KEY }}"} | |||
136872 | 11 | 27466 | 207052882 | Deploy to Cloud Run | gcloud config set run/region us-central1 gcloud config set project datasette-222320 datasette publish cloudrun github.db \ -m demo-metadata.json \ --service github-to-sqlite \ --install=datasette-search-all>=0.3 \ --install=datasette-render-markdown>=1.1.2 \ --install=datasette-pretty-json>=0.2.2 \ --install=datasette-json-html \ --install=datasette-vega \ --install=datasette-render-images \ --install=datasette-graphql \ --install=datasette-atom | ||||
136873 | 1 | 27467 | 207052882 | actions/checkout@v2 | |||||
136874 | 2 | 27467 | 207052882 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136875 | 3 | 27467 | 207052882 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136876 | 4 | 27467 | 207052882 | Install dependencies | pip install -e '.[test]' | ||||
136877 | 5 | 27467 | 207052882 | Run tests | pytest | ||||
136878 | 1 | 27468 | 207052882 | actions/checkout@v2 | |||||
136879 | 2 | 27468 | 207052882 | actions/setup-python@v2 | Set up Python | {"python-version": "3.11"} | |||
136880 | 3 | 27468 | 207052882 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n"} | |||
136881 | 4 | 27468 | 207052882 | Install dependencies | pip install setuptools wheel twine | ||||
136882 | 5 | 27468 | 207052882 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136883 | 1 | 27469 | 207052882 | actions/checkout@v2 | Check out repo | ||||
136884 | 2 | 27469 | 207052882 | Update TOC | npx markdown-toc README.md -i | ||||
136885 | 3 | 27469 | 207052882 | Commit and push if README changed | git diff git config --global user.email "readme-bot@example.com" git config --global user.name "README-bot" git diff --quiet || (git add README.md && git commit -m "Updated README") git push | ||||
136886 | 1 | 27470 | 207052882 | actions/checkout@v2 | |||||
136887 | 2 | 27470 | 207052882 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136888 | 3 | 27470 | 207052882 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136889 | 4 | 27470 | 207052882 | Install dependencies | pip install -e '.[test]' | ||||
136890 | 5 | 27470 | 207052882 | Run tests | pytest | ||||
136891 | 1 | 27471 | 248903544 | actions/checkout@v2 | |||||
136892 | 2 | 27471 | 248903544 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136893 | 3 | 27471 | 248903544 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136894 | 4 | 27471 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
136895 | 5 | 27471 | 248903544 | Run tests | pytest | ||||
136896 | 1 | 27472 | 248903544 | actions/checkout@v2 | |||||
136897 | 2 | 27472 | 248903544 | actions/setup-python@v2 | Set up Python | {"python-version": "3.9"} | |||
136898 | 3 | 27472 | 248903544 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n"} | |||
136899 | 4 | 27472 | 248903544 | Install dependencies | pip install setuptools wheel twine | ||||
136900 | 5 | 27472 | 248903544 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136901 | 1 | 27473 | 248903544 | actions/checkout@v2 | |||||
136902 | 2 | 27473 | 248903544 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136903 | 3 | 27473 | 248903544 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136904 | 4 | 27473 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
136905 | 5 | 27473 | 248903544 | Run tests | pytest | ||||
136906 | 1 | 27474 | 197882382 | actions/checkout@v2 | |||||
136907 | 2 | 27474 | 197882382 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136908 | 3 | 27474 | 197882382 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136909 | 4 | 27474 | 197882382 | Install dependencies | pip install -e '.[test]' | ||||
136910 | 5 | 27474 | 197882382 | Run tests | pytest | ||||
136911 | 1 | 27475 | 197882382 | actions/checkout@v2 | |||||
136912 | 2 | 27475 | 197882382 | actions/setup-python@v2 | Set up Python | {"python-version": "3.9"} |