Skip to content

Commit 9eab081

Browse files
authored
Merge branch 'main' into docs/v2.0.0
2 parents cad36bb + 6c32b84 commit 9eab081

8 files changed

Lines changed: 78 additions & 84 deletions

File tree

.depot/workflows/deploy-preview.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build and Deploy Preview
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths:
77
- 'src/**'
@@ -25,6 +25,7 @@ permissions:
2525

2626
jobs:
2727
build-and-deploy-preview:
28+
if: ${{ github.event.pull_request.head.repo.owner.login == 'getarcaneapp' }}
2829
runs-on: depot-ubuntu-latest
2930
environment:
3031
name: ${{ github.event.pull_request.user.login }}-pr-${{ github.event.pull_request.number }}

.depot/workflows/spell-check.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request_target:
7+
pull_request:
88
types: [opened, synchronize, reopened, ready_for_review]
99
branches:
1010
- main
1111

1212
permissions:
13-
actions: read
14-
contents: read
15-
deployments: write
16-
pull-requests: write
13+
contents: write
1714
id-token: write
15+
pull-requests: read
1816

1917
jobs:
2018
check-typos:
@@ -25,12 +23,11 @@ jobs:
2523
with:
2624
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
2725
ref: ${{ github.event.pull_request.head.sha || github.sha }}
28-
token: ${{ secrets.GITHUB_TOKEN }}
2926

3027
- name: Check if this is a changelog PR
3128
id: check_label
3229
run: |
33-
if [[ "${{ github.event_name }}" == "pull_request_target" ]] \
30+
if [[ "${{ github.event_name }}" == "pull_request" ]] \
3431
&& [[ "${{ contains(github.event.pull_request.labels.*.name, 'docs(changelog)') }}" == "true" ]] \
3532
&& [[ "${{ github.event.pull_request.head.repo.full_name }}" == "${{ github.repository }}" ]]; then
3633
echo "is_changelog_pr=true" >> $GITHUB_OUTPUT

.github/workflows/deploy-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build and Deploy Preview
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths:
77
- 'src/**'
@@ -25,7 +25,7 @@ permissions:
2525

2626
jobs:
2727
build-and-deploy-preview:
28-
if: ${{ github.repository_owner != 'getarcaneapp' && github.actor != 'getarcaneappbot' }}
28+
if: ${{ github.event.pull_request.head.repo.owner.login == 'getarcaneapp' && github.actor != 'getarcaneappbot' }}
2929
runs-on: depot-ubuntu-latest
3030
environment:
3131
name: ${{ github.event.pull_request.user.login }}-pr-${{ github.event.pull_request.number }}

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
deploy:
14-
if: ${{ github.repository_owner != 'getarcaneapp' && github.actor != 'getarcaneappbot' }}
14+
if: ${{ github.repository_owner == 'getarcaneapp' && github.actor != 'getarcaneappbot' }}
1515
runs-on: depot-ubuntu-latest
1616
environment:
1717
name: production

.github/workflows/spell-check.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,30 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request_target:
7+
pull_request:
88
types: [opened, synchronize, reopened, ready_for_review]
99
branches:
1010
- main
1111

1212
permissions:
13-
actions: read
14-
contents: read
15-
deployments: write
16-
pull-requests: write
13+
contents: write
1714
id-token: write
15+
pull-requests: read
1816

1917
jobs:
2018
check-typos:
21-
if: ${{ github.repository_owner != 'getarcaneapp' && github.actor != 'getarcaneappbot' }}
2219
runs-on: depot-ubuntu-latest
2320
steps:
2421
- name: Checkout repository
2522
uses: actions/checkout@v6
2623
with:
2724
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
2825
ref: ${{ github.event.pull_request.head.sha || github.sha }}
29-
token: ${{ secrets.GITHUB_TOKEN }}
3026

3127
- name: Check if this is a changelog PR
3228
id: check_label
3329
run: |
34-
if [[ "${{ github.event_name }}" == "pull_request_target" ]] \
30+
if [[ "${{ github.event_name }}" == "pull_request" ]] \
3531
&& [[ "${{ contains(github.event.pull_request.labels.*.name, 'docs(changelog)') }}" == "true" ]] \
3632
&& [[ "${{ github.event.pull_request.head.repo.full_name }}" == "${{ github.repository }}" ]]; then
3733
echo "is_changelog_pr=true" >> $GITHUB_OUTPUT

.github/workflows/update-release-assets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212

1313
jobs:
1414
update-release-assets:
15-
if: ${{ github.repository_owner != 'getarcaneapp' && github.actor != 'getarcaneappbot' }}
15+
if: ${{ github.repository_owner == 'getarcaneapp' && github.actor != 'getarcaneappbot' }}
1616
runs-on: depot-ubuntu-latest
1717
steps:
1818
- name: Checkout

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"prettier-plugin-tailwindcss": "^0.8.0",
5555
"runed": "^0.37.1",
5656
"shiki": "^4.1.0",
57-
"svelte": "^5.55.10",
57+
"svelte": "^5.56.0",
5858
"svelte-check-rs": "^0.9.19",
5959
"svelte-toolbelt": "^0.10.6",
6060
"tailwind-merge": "^3.6.0",
@@ -68,5 +68,5 @@
6868
"vite-plus": "catalog:",
6969
"wrangler": "^4.95.0"
7070
},
71-
"packageManager": "pnpm@11.1.0+sha512.0c44e842e5686b2c061a81adda8b2258bd8818e9704b2cf2c63d56b931a7b2e910092e085027003b96ca3911ab56a07f6df5abaed2be9925034cdd686a535b14"
71+
"packageManager": "pnpm@11.5.0+sha512.dbfcc4f81cf48597afd4bc391ffdf12c11f1a9fb83a395bfa6b0a2d9cc2fd8ffebafdb1ccbd529632153f793904c2615b7f09fe1a345473fd1c35845172a8eb1"
7272
}

0 commit comments

Comments
 (0)