Commit cb6dddd
ci: add repository guards to workflow files (#364)
* ci: 每30分钟自动同步上游仓库
* ci: add repository guards to workflow files
- python-publish.yml: only run on OpenWSGR/AutoWSGR (upstream)
- lunar.yml: only run on OpenWSGR/AutoWSGR (upstream)
- sync-upstream.yml: re-add with fork-only guard (skip on upstream)
This prevents publish from running on forks (missing PYPI_API_TOKEN)
and keeps the sync workflow from running on the upstream repo.
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 8106a8e commit cb6dddd
3 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments