Require places on every record, add the audit checklist and the monthly place check
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
73b13c3d48
commit
e6bc42c373
7 files changed
+123
-8
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: Places
|
||||
|
||||
# The monthly check that every record's places still match the published outlines. It downloads
|
||||
# the current outlines, measures every track again and fails with the list of differences.
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 6 1 * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/longhikes-places
|
||||
key: places-outlines-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
places-outlines-
|
||||
- run: pip install -r tools/place_trails.requirements.txt
|
||||
- run: python tools/place_trails.py --check
|
||||
Reference in new issue
Block a user