Skip to content

Commit bbe7172

Browse files
committed
fix: 任意分支都可以测试
1 parent 1ee6d1d commit bbe7172

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/deploy.yml

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

77
on:
88
push:
9-
branches: [main]
9+
branches: ["**"]
1010
paths:
1111
- "frontend/**"
1212
pull_request:

.github/workflows/sync-uuid.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: Docs Backfill (on docs changes)
22

33
on:
44
push:
5-
branches:
6-
- main
7-
- feat/contributor
5+
branches: ["**"]
86
paths:
97
- "frontend/app/docs/**"
108
- "frontend/scripts/uuid.mjs"
@@ -21,10 +19,8 @@ concurrency:
2119

2220
jobs:
2321
backfill:
24-
# 防止 fork、限定 main、并避免机器人循环
25-
if:
26-
(github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feat/contributor') &&
27-
github.actor != 'github-actions[bot]'
22+
# 防止 fork 并避免机器人循环
23+
if: github.actor != 'github-actions[bot]'
2824
runs-on: ubuntu-latest
2925
permissions:
3026
contents: write

0 commit comments

Comments
 (0)