mirror of
https://github.com/prdlk/leetcode.git
synced 2026-09-17 07:26:27 +00:00
Add SRS automation: scheduler, logger, weekly gates
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
name: SRS Setup
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: read
|
||||
|
||||
# Shared with the other SRS workflows: never race on srs.json.
|
||||
concurrency:
|
||||
group: srs-state
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
|
||||
# Verifies PROJECT_PAT against the user project, creates the SRS
|
||||
# single-select fields when missing, and re-mirrors every laddered
|
||||
# problem's Target Date / SRS Stage / First Attempt. Idempotent.
|
||||
- run: bun scripts/srs-setup.ts
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PROJECT_PAT: ${{ secrets.PROJECT_PAT }}
|
||||
Reference in New Issue
Block a user