Skip to content

Weekly benchmarks review #1

Weekly benchmarks review

Weekly benchmarks review #1

name: Weekly benchmarks review
# Opens a GitHub issue every Monday at 14:00 UTC (07:00 PT) summarizing
# whether data/benchmarks.json likely needs updating. Operator triages
# the issue, edits the file if a new flagship dropped, otherwise closes.
# See scripts/weekly-benchmarks-check.mjs for the report body logic.
on:
schedule:
- cron: '0 14 * * 1' # 14:00 UTC every Monday
workflow_dispatch: # allow manual runs from the Actions tab
permissions:
issues: write
contents: read
jobs:
open-review-issue:
runs-on: ubuntu-latest
if: ${{ github.repository == 'RipperMercs/tensorfeed' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Generate report body
id: report
run: |
node scripts/weekly-benchmarks-check.mjs > issue-body.md
{
echo "title=Weekly benchmark review: $(date -u +%Y-%m-%d)"
} >> "$GITHUB_OUTPUT"
- name: Open issue
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh issue create \
--title "${{ steps.report.outputs.title }}" \
--body-file issue-body.md \
--label "benchmarks,maintenance"