-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 1.24 KB
/
Copy pathweekly-benchmarks-check.yml
File metadata and controls
43 lines (36 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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@v6
- uses: actions/setup-node@v6
with:
node-version: '24'
- 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"