Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/update_draft_features_weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update Draft Features

on:
# Runs at midnight on Mondays 05:30 UTC, or manually triggered
schedule:
- cron: '30 5 * * 1'
workflow_dispatch:

jobs:
update-drafts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- run: npm ci
- run: npm run update-drafts
- name: Commit changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A
git commit -m "Update draft features weekly" || echo "No changes to commit"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: Update draft features weekly
title: "[GitHub Actions] Update draft features weekly"
body: "This is an auto-generated PR with draft features by spec updates."
branch: update-draft-features-${{ github.run_number }}
delete-branch: true