Skip to content

Commit 27daae3

Browse files
authored
Merge branch 'v2' into distro-3
2 parents 6a268e2 + 7eb4f40 commit 27daae3

File tree

206 files changed

+22867
-3540
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+22867
-3540
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: 'Sync Sponsors Data'
2+
3+
on:
4+
schedule:
5+
# once a week
6+
- cron: '0 0 * * 0'
7+
workflow_dispatch:
8+
9+
jobs:
10+
sync-sponsors-data:
11+
name: Sync Sponsors Data
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- uses: pnpm/action-setup@v4
19+
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
cache: 'pnpm'
24+
25+
- run: pnpm i
26+
27+
- name: sync-sponsors
28+
run: pnpm sync:sponsors
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- run: pnpm format
33+
34+
# tauri-docs PR
35+
- name: Git config
36+
run: |
37+
git config --global user.name "tauri-bot"
38+
git config --global user.email "[email protected]"
39+
40+
- name: Create pull request for updated docs
41+
# soft fork of https://github.com/peter-evans/create-pull-request for security purposes
42+
uses: tauri-apps/[email protected]
43+
if: github.event_name != 'pull_request' && github.event_name != 'push'
44+
with:
45+
token: ${{ secrets.ORG_TAURI_BOT_PAT }}
46+
commit-message: 'chore(docs): Update Sponsors Data'
47+
branch: ci/v2/update-sponsors
48+
title: Update Sponsors Data
49+
labels: 'bot'

.prettierignore

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
# Generated reference docs
99
src/content/docs/reference
10+
src/content/docs/release
1011

1112
# Git Modules
1213
packages/tauri
@@ -28,9 +29,19 @@ src/components/overrides/Header.astro
2829
src/content/docs/learn/Security/capabilities-for-windows-and-platforms.mdx
2930
src/content/docs/learn/Security/using-plugin-permissions.mdx
3031
src/content/docs/learn/Security/writing-plugin-permissions.mdx
32+
src/content/docs/zh-cn/learn/Security
33+
3134
src/content/docs/start/frontend/qwik.mdx
32-
src/content/docs/zh-cn/start/frontend/qwik.mdx
3335
src/content/docs/ja/start/frontend/qwik.mdx
3436
src/content/docs/es/start/frontend/qwik.mdx
37+
src/content/docs/zh-cn/start/frontend/qwik.mdx
38+
3539
src/content/docs/learn/splashscreen.mdx
40+
src/content/docs/zh-cn/learn/splashscreen.mdx
41+
42+
src/content/docs/ja/learn/Security/capabilities-for-windows-and-platforms.mdx
43+
src/content/docs/ja/learn/Security/using-plugin-permissions.mdx
44+
src/content/docs/ja/learn/Security/writing-plugin-permissions.mdx
45+
46+
3647
src/content/docs/security/http-headers.mdx

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"prettier.documentSelectors": ["**/*.astro"],
44
"[astro]": {
55
"editor.defaultFormatter": "astro-build.astro-vscode"
6+
},
7+
"[mdx]": {
8+
"editor.defaultFormatter": "esbenp.prettier-vscode"
69
}
710
}

0 commit comments

Comments
 (0)