Skip to content

Commit 7c5b45d

Browse files
committed
Merge remote-tracking branch 'upstream/master' into audio-player
2 parents 9d06f0e + b248306 commit 7c5b45d

File tree

97 files changed

+3436
-1197
lines changed

Some content is hidden

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

97 files changed

+3436
-1197
lines changed

.github/workflows/core.tests.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,35 @@ on:
99
- "packages/core/**"
1010
# re-run workflow if workflow file changes
1111
- ".github/workflows/core.tests.yml"
12-
pull_request:
12+
pull_request_target:
13+
branches:
14+
- "master"
15+
paths:
16+
- "packages/core/**"
17+
# re-run workflow if workflow file changes
18+
- ".github/workflows/core.tests.yml"
1319
types:
1420
- "ready_for_review"
1521
- "opened"
1622
- "synchronize"
1723
- "reopened"
1824

1925
jobs:
26+
authorize:
27+
environment: ${{ github.event_name == 'pull_request_target' &&
28+
github.event.pull_request.head.repo.full_name != github.repository &&
29+
'external' || 'internal' }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- run: echo true
33+
2034
test:
35+
needs: authorize
2136
runs-on: ubuntu-22.04
22-
2337
steps:
2438
- uses: actions/checkout@v4
39+
with:
40+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
2541

2642
- name: Setup Node
2743
uses: ./.github/actions/setup-node-with-cache

.github/workflows/desktop.tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
# re-run workflow if workflow file changes
1111
- ".github/workflows/desktop.tests.yml"
1212
pull_request:
13+
branches:
14+
- "master"
15+
paths:
16+
- "app/desktop/**"
17+
# re-run workflow if workflow file changes
18+
- ".github/workflows/desktop.tests.yml"
1319

1420
jobs:
1521
build:

.github/workflows/editor.tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
# re-run workflow if workflow file changes
1111
- ".github/workflows/editor.tests.yml"
1212
pull_request:
13+
branches:
14+
- "master"
15+
paths:
16+
- "packages/editor/**"
17+
# re-run workflow if workflow file changes
18+
- ".github/workflows/editor.tests.yml"
1319
types:
1420
- "ready_for_review"
1521
- "opened"

.github/workflows/web.tests.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,37 @@ on:
99
- "apps/web/**"
1010
# re-run workflow if workflow file changes
1111
- ".github/workflows/web.tests.yml"
12-
pull_request:
12+
pull_request_target:
13+
branches:
14+
- "master"
15+
paths:
16+
- "apps/web/**"
17+
# re-run workflow if workflow file changes
18+
- ".github/workflows/web.tests.yml"
1319
types:
1420
- "ready_for_review"
1521
- "opened"
1622
- "synchronize"
1723
- "reopened"
1824

1925
jobs:
26+
authorize:
27+
environment: ${{ github.event_name == 'pull_request_target' &&
28+
github.event.pull_request.head.repo.full_name != github.repository &&
29+
'external' || 'internal' }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- run: echo true
33+
2034
build:
35+
needs: authorize
2136
name: Build
2237
runs-on: ubuntu-22.04
2338
steps:
2439
- name: Checkout
2540
uses: actions/checkout@v4
41+
with:
42+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
2643

2744
- name: Setup Node
2845
uses: ./.github/actions/setup-node-with-cache
@@ -54,6 +71,8 @@ jobs:
5471
steps:
5572
- name: Checkout
5673
uses: actions/checkout@v4
74+
with:
75+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
5776

5877
- name: Download build
5978
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)