-
Notifications
You must be signed in to change notification settings - Fork 0
feat: tywrap promotion, docs site, and maintenance automation #200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d53cb19
8999723
c6c670b
273d616
9512fa7
ff24cc4
ba36410
b25256b
49d05f3
fde1577
c00d2d0
fdd4082
e383eb0
f527321
7f61424
3d3300f
afdd892
c7a3a7a
826c913
b7c415b
5b1cee7
8228937
27f47a2
4942383
18ff997
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| version: 2 | ||
| updates: | ||
| # npm dependencies | ||
| - package-ecosystem: "npm" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "06:00" | ||
| timezone: "America/New_York" | ||
| groups: | ||
| typescript-types: | ||
| patterns: | ||
| - "@types/*" | ||
| dev-dependencies: | ||
| dependency-type: "development" | ||
| update-types: | ||
| - "minor" | ||
| - "patch" | ||
| open-pull-requests-limit: 5 | ||
| labels: | ||
| - "area:ci" | ||
|
|
||
| # Python dependencies | ||
| - package-ecosystem: "pip" | ||
| directory: "/tywrap_ir" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "06:00" | ||
| timezone: "America/New_York" | ||
| open-pull-requests-limit: 3 | ||
| labels: | ||
| - "area:ci" | ||
|
|
||
| # GitHub Actions | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "monday" | ||
| time: "06:00" | ||
| timezone: "America/New_York" | ||
| groups: | ||
| github-actions: | ||
| patterns: | ||
| - "*" | ||
| open-pull-requests-limit: 3 | ||
| labels: | ||
| - "area:ci" | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,39 @@ | ||||||||||||||||||||||||||||
| area:runtime: | ||||||||||||||||||||||||||||
| - changed-files: | ||||||||||||||||||||||||||||
| - any-glob-to-any-file: | ||||||||||||||||||||||||||||
| - 'src/runtime/**' | ||||||||||||||||||||||||||||
| - 'test/runtime*' | ||||||||||||||||||||||||||||
| - 'runtime/**' | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| area:codegen: | ||||||||||||||||||||||||||||
| - changed-files: | ||||||||||||||||||||||||||||
| - any-glob-to-any-file: | ||||||||||||||||||||||||||||
| - 'src/core/**' | ||||||||||||||||||||||||||||
| - 'src/config/**' | ||||||||||||||||||||||||||||
| - 'src/tywrap.ts' | ||||||||||||||||||||||||||||
| - 'src/cli.ts' | ||||||||||||||||||||||||||||
| - 'tywrap_ir/**' | ||||||||||||||||||||||||||||
| - 'test/python/**' | ||||||||||||||||||||||||||||
| - 'test/cli*' | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| area:types: | ||||||||||||||||||||||||||||
| - changed-files: | ||||||||||||||||||||||||||||
| - any-glob-to-any-file: | ||||||||||||||||||||||||||||
| - 'src/types/**' | ||||||||||||||||||||||||||||
| - 'test-d/**' | ||||||||||||||||||||||||||||
| - 'tsd.json' | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| area:docs: | ||||||||||||||||||||||||||||
| - changed-files: | ||||||||||||||||||||||||||||
| - any-glob-to-any-file: | ||||||||||||||||||||||||||||
| - 'docs/**' | ||||||||||||||||||||||||||||
| - '*.md' | ||||||||||||||||||||||||||||
| - 'CONTRIBUTING.md' | ||||||||||||||||||||||||||||
| - 'AGENTS.md' | ||||||||||||||||||||||||||||
| - 'CLAUDE.md' | ||||||||||||||||||||||||||||
|
Comment on lines
+26
to
+33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Minor redundancy in docs patterns. Lines 29-31 ( ♻️ Optional: Remove redundant entries area:docs:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'
- '*.md'
- - 'CONTRIBUTING.md'
- - 'AGENTS.md'
- - 'CLAUDE.md'📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| area:ci: | ||||||||||||||||||||||||||||
| - changed-files: | ||||||||||||||||||||||||||||
| - any-glob-to-any-file: | ||||||||||||||||||||||||||||
| - '.github/**' | ||||||||||||||||||||||||||||
| - 'scripts/**' | ||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| name: Deploy Docs to GitHub Pages | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| concurrency: | ||
| group: pages | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
| cache: npm | ||
|
|
||
| - uses: actions/configure-pages@v4 | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci --prefer-offline --no-audit | ||
|
|
||
| - name: Build VitePress site | ||
| run: npm run docs:build | ||
|
|
||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| path: docs/.vitepress/dist | ||
|
|
||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| needs: build | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| name: PR Labeler | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, synchronize, reopened] | ||
|
|
||
| jobs: | ||
| labeler: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| steps: | ||
| - uses: actions/labeler@v6 | ||
| with: | ||
| repo-token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Consider adding grouping for pip dependencies.
The pip ecosystem configuration is functional but lacks grouping, unlike the other ecosystems. If the
/tywrap_irproject has multiple dependencies, each update will create a separate PR.♻️ Optional: Add grouping similar to other ecosystems
- package-ecosystem: "pip" directory: "/tywrap_ir" schedule: interval: "weekly" day: "monday" time: "06:00" timezone: "America/New_York" + groups: + python-dependencies: + patterns: + - "*" + update-types: + - "minor" + - "patch" open-pull-requests-limit: 3 labels: - "area:ci"📝 Committable suggestion
🤖 Prompt for AI Agents