Skip to content

Commit 0dd5f42

Browse files
rahulkeerthiclaude
andcommitted
fix: update weekly workflow — increase timeout, regenerate samples
- Timeout 30min → 60min (composite PK seed takes longer) - Add sample CSV regeneration step Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8802424 commit 0dd5f42

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/update-register.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818
jobs:
1919
update:
2020
runs-on: ubuntu-latest
21-
timeout-minutes: 30
21+
timeout-minutes: 60
2222
steps:
2323
- uses: actions/checkout@v4
2424

@@ -71,7 +71,15 @@ jobs:
7171
- name: Export CSVs
7272
run: python scripts/export-csv.py
7373

74-
# Step 6: Commit and push
74+
# Step 6: Regenerate samples
75+
- name: Regenerate sample CSVs
76+
run: |
77+
for f in data/people.csv data/teams.csv data/names.csv; do
78+
base=$(basename "$f")
79+
(head -1 "$f"; tail -n +2 "$f" | awk 'BEGIN{srand(42)} {print rand() "\t" $0}' | sort -n | head -50 | cut -f2-) > "data/samples/$base"
80+
done
81+
82+
# Step 7: Commit and push
7583
- name: Commit updated data
7684
run: |
7785
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)