ci: remove stale plays path filter
This commit is contained in:
1 parent
f7b55f7e46
commit
1d776c21c3
3 files changed
+2
-4
No files matched your search
@@ -4,7 +4,6 @@ on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "plays/**"
|
||||
- "skills/**"
|
||||
- "*.md"
|
||||
push:
|
||||
@@ -12,7 +11,6 @@ on:
|
||||
- main
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "plays/**"
|
||||
- "skills/**"
|
||||
- "*.md"
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -22,7 +22,7 @@ Two workflows validate pull requests: `.github/workflows/static-checks.yml` and
|
||||
## Path filtering
|
||||
|
||||
`firmware-checks.yml` ignores paths that cannot affect the firmware build:
|
||||
`docs/**`, `plays/**`, `skills/**`, and `*.md`. A documentation-only pull request
|
||||
`docs/**`, `skills/**`, and `*.md`. A documentation-only pull request
|
||||
therefore runs the static checks but skips the firmware build. `assets/**` is
|
||||
intentionally **not** ignored: `assets/` holds reusable fonts, images, music, and
|
||||
sound effects that may be embedded into the firmware, so any asset change must
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
## 路径过滤
|
||||
|
||||
`firmware-checks.yml` 忽略不会影响固件构建的路径:`docs/**`、`plays/**`、`skills/**` 与 `*.md`。
|
||||
`firmware-checks.yml` 忽略不会影响固件构建的路径:`docs/**`、`skills/**` 与 `*.md`。
|
||||
因此纯文档的 pull request 只跑 static checks、跳过固件构建。`assets/**` **故意不**忽略:`assets/`
|
||||
存放可复用的字体、图片、音乐与音效,未来可能被嵌入固件,因此任何资源变更都必须触发固件构建。
|
||||
|
||||
|
||||
Reference in new issue
Block a user