Live stats issue #324
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: Live stats issue | |
| # Publishes/updates the ONE living "dashboard" issue, fully decoupled from the | |
| # discovery pipeline so a transient GitHub-search hiccup in radar.py can never | |
| # block the issue from refreshing. It is intentionally NOT path-filtered, so it | |
| # runs on every push to main (no confusing "skipped" runs) and always reflects | |
| # the data currently committed in the repo. Triggers: | |
| # - every push to main; | |
| # - a 6-hourly backstop (a few minutes after the discovery cron); | |
| # - on demand via the "Run workflow" button (workflow_dispatch). | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "27 */6 * * *" | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| issues: write | |
| concurrency: | |
| group: axonos-stats-issue | |
| cancel-in-progress: false | |
| jobs: | |
| publish: | |
| name: Publish living stats issue | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| GITHUB_TOKEN: ${{ github.token }} | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Publish/update the living stats issue from committed data | |
| run: python3 scripts/publish_stats_issue.py |