mirror of
https://github.com/eryajf/learning-weekly.git
synced 2025-09-26 09:41:11 +08:00
ci: 更新 Sync to CNB 工作流触发条件
- 仅在 main 分支推送时触发 - 忽略 learning-weekly.xml 文件更改
This commit is contained in:
6
.github/workflows/sync-to-cnb.yml
vendored
6
.github/workflows/sync-to-cnb.yml
vendored
@@ -1,6 +1,10 @@
|
||||
name: Sync to CNB
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- 'learning-weekly.xml'
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
|
Reference in New Issue
Block a user