Skip to content

Commit c465f9d

Browse files
feat: [DevOps] Weekly Spec Update (#439)
* feat: [DevOps] Weekly Spec Update * dispatch for testing * add gh token * checkout * without token * remove test dispatch * remove comment
1 parent f21c732 commit c465f9d

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "Weekly Spec Update"
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * SUN' # Every Sunday at midnight UTC
6+
7+
jobs:
8+
update-all-specs:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
file:
14+
- core
15+
- grounding
16+
- prompt-registry
17+
18+
steps:
19+
- name: "Checkout repository"
20+
uses: actions/checkout@v4
21+
22+
- name: "Trigger spec update"
23+
run: |
24+
gh workflow run spec-update.yaml \
25+
--field file=${{ matrix.file }} \
26+
--field file-ref=main \
27+
--field create-pr=true
28+
env:
29+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)