mirror of
https://github.com/bitbaum/fleet.git
synced 2026-12-04 17:57:59 +01:00
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
# The numbers the bet rests on, read nightly from sources that are not us.
|
|
#
|
|
# stars and forks from GitHub, npm downloads per shared package, paying
|
|
# clients and CHF/month from loki's apps.conf, originator share routed by
|
|
# Solon. All of them are near zero today and that is the point: a belief with
|
|
# a reading can be wrong in public, which is the only way it gets to be right.
|
|
# history[] gains a row when a reading changes, so a flat month is one row and
|
|
# one commit — never thirty.
|
|
name: Readings
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '41 4 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
concurrency:
|
|
group: readings
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
read:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
token: ${{ secrets.FLEET_PAT }}
|
|
|
|
- name: Take the readings
|
|
env:
|
|
GH_TOKEN: ${{ secrets.FLEET_PAT || secrets.GITHUB_TOKEN }}
|
|
run: node scripts/ci/readings.mjs --emit registers/readings.json | tee -a "$GITHUB_STEP_SUMMARY"
|
|
|
|
- name: Propose generated readings through the normal merge gates
|
|
env:
|
|
GH_TOKEN: ${{ secrets.FLEET_PAT }}
|
|
run: node scripts/ci/generated-pr.mjs readings
|