Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
b90c053f
authored
Mar 16, 2026
by
Archer
Committed by
GitHub
Mar 16, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update action (#6570)
* action * action * update action
parent
a8d09818
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
.github/workflows/preview-docs-build.yml
+3
-3
.github/workflows/preview-fastgpt-build.yml
+4
-4
No files found.
.github/workflows/preview-docs-build.yml
View file @
b90c053f
...
@@ -8,14 +8,14 @@ on:
...
@@ -8,14 +8,14 @@ on:
pull_request_target
:
pull_request_target
:
paths
:
paths
:
-
'
document/**'
-
'
document/**'
types
:
[
label
ed
]
types
:
[
opened
,
synchronize
,
reopen
ed
]
jobs
:
jobs
:
build-docs-image
:
build-docs-image
:
#
外部贡献者需要 'safe-to-build' 标签
#
内部和外部贡献者都可以触发构建
if
:
|
if
:
|
(github.event_name == 'pull_request') ||
(github.event_name == 'pull_request') ||
(github.event_name == 'pull_request_target'
&& contains(github.event.pull_request.labels.*.name, 'safe-to-build')
)
(github.event_name == 'pull_request_target')
permissions
:
permissions
:
contents
:
read
contents
:
read
...
...
.github/workflows/preview-fastgpt-build.yml
View file @
b90c053f
...
@@ -5,15 +5,15 @@ on:
...
@@ -5,15 +5,15 @@ on:
# 支持所有分支
# 支持所有分支
types
:
[
opened
,
synchronize
,
reopened
]
types
:
[
opened
,
synchronize
,
reopened
]
pull_request_target
:
pull_request_target
:
# 外部贡献者
需要标签批准
# 外部贡献者
也支持自动构建
types
:
[
label
ed
]
types
:
[
opened
,
synchronize
,
reopen
ed
]
jobs
:
jobs
:
build-preview-images
:
build-preview-images
:
#
外部贡献者需要 'safe-to-build' 标签
#
内部和外部贡献者都可以触发构建
if
:
|
if
:
|
(github.event_name == 'pull_request') ||
(github.event_name == 'pull_request') ||
(github.event_name == 'pull_request_target'
&& contains(github.event.pull_request.labels.*.name, 'safe-to-build')
)
(github.event_name == 'pull_request_target')
permissions
:
permissions
:
contents
:
read
contents
:
read
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment