ci: ignore doc-only changes in release workflow

This commit is contained in:
xixu-me committed 2026-04-11 17:01:51 +08:00
1 parent de530f5b69
commit 28686ba2e0
3 files changed
+6 -2

No files matched your search

+4
View File
@@ -4,6 +4,10 @@ on:
push:
branches:
- main
paths-ignore:
- 'README*'
- 'docs/**'
- 'LICENSE'
workflow_dispatch:
inputs:
deploy_worker:
+1 -1
View File
@@ -129,7 +129,7 @@ The repository uses four workflows:
### Release behavior
- pushes to `main` run validation, then deploy the Worker and publish `ghcr.io/xixu-me/paseo-relay:main`
- pushes to `main` that change release-relevant files run validation, then deploy the Worker and publish `ghcr.io/xixu-me/paseo-relay:main`
- manual `workflow_dispatch` runs can selectively deploy the Worker and/or publish the OCI image
### Required secrets
+1 -1
View File
@@ -129,7 +129,7 @@ OCI 校验路径还会额外检查:
### 发布行为
- 推送到 `main` 时,会先运行校验,然后部署 Worker 并发布 `ghcr.io/xixu-me/paseo-relay:main`
- 推送到 `main` 且变更涉及发布相关文件时,会先运行校验,然后部署 Worker 并发布 `ghcr.io/xixu-me/paseo-relay:main`
- 手动触发的 `workflow_dispatch` 运行可以选择只部署 Worker 和/或只发布 OCI 镜像
### 所需 secrets