Create 2026-05-26.ndjson #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Aggregate Telemetry | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "telemetry/events/**" | |
| - "scripts/aggregate_telemetry.py" | |
| - ".github/workflows/telemetry.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: streetview-wander-telemetry | |
| cancel-in-progress: true | |
| jobs: | |
| aggregate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Aggregate telemetry | |
| run: python3 scripts/aggregate_telemetry.py | |
| - name: Commit generated telemetry outputs | |
| run: | | |
| if git diff --quiet -- telemetry/summary/latest.json sampler-config/latest.json; then | |
| echo "No telemetry output changes." | |
| exit 0 | |
| fi | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git add telemetry/summary/latest.json sampler-config/latest.json | |
| git commit -m "Update telemetry sampler config" | |
| git push |