mirror of
https://github.com/ZSCGR/CloudFlare-ImgBed.git
synced 2026-08-13 04:03:42 +08:00
chore: organize automation assets
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Breaking update guard / 破坏性更新保护机制
|
||||
|
||||
The scheduled upstream synchronization reads `.github/breaking-updates.json` before applying changes. If an enabled update has not been applied to a fork, automatic synchronization is paused and a bilingual issue is created in that fork.
|
||||
The scheduled upstream synchronization reads `.github/breaking-updates/breaking-updates.json` before applying changes. If an enabled update has not been applied to a fork, automatic synchronization is paused and a bilingual issue is created in that fork.
|
||||
|
||||
定时上游同步会在应用变更前读取 `.github/breaking-updates.json`。如果某项已启用的更新尚未包含在用户 Fork 中,自动同步会暂停,并在该 Fork 中创建中英双语 Issue。
|
||||
定时上游同步会在应用变更前读取 `.github/breaking-updates/breaking-updates.json`。如果某项已启用的更新尚未包含在用户 Fork 中,自动同步会暂停,并在该 Fork 中创建中英双语 Issue。
|
||||
|
||||
## Initial rollout / 首次上线
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ set -Eeuo pipefail
|
||||
MODE="${1:-check}"
|
||||
UPSTREAM_REPO="${UPSTREAM_REPO:-MarSeventh/CloudFlare-ImgBed}"
|
||||
UPSTREAM_BRANCH="${UPSTREAM_BRANCH:-main}"
|
||||
MANIFEST_PATH="${BREAKING_UPDATE_MANIFEST:-.github/breaking-updates.json}"
|
||||
MANIFEST_PATH="${BREAKING_UPDATE_MANIFEST:-.github/breaking-updates/breaking-updates.json}"
|
||||
PENDING_FILE="${RUNNER_TEMP:-/tmp}/cloudflare-imgbed-pending-breaking-updates.txt"
|
||||
ISSUE_TITLE_PREFIX="CloudFlare-ImgBed Update"
|
||||
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
UPSTREAM_REPO: MarSeventh/CloudFlare-ImgBed
|
||||
UPSTREAM_BRANCH: main
|
||||
ALLOW_BREAKING_UPDATE: ${{ github.event_name == 'workflow_dispatch' && inputs.confirm_breaking_update == true }}
|
||||
run: bash .github/scripts/breaking-update-guard.sh check
|
||||
run: bash .github/breaking-updates/scripts/breaking-update-guard.sh check
|
||||
|
||||
- name: Sync upstream changes
|
||||
id: sync
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
if: steps.sync.outcome == 'success'
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: bash .github/scripts/breaking-update-guard.sh complete
|
||||
run: bash .github/breaking-updates/scripts/breaking-update-guard.sh complete
|
||||
|
||||
- name: Trigger Worker deploy
|
||||
if: steps.sync.outcome == 'success'
|
||||
|
||||
@@ -171,7 +171,7 @@ Thank you to everyone who has contributed code, documentation, ideas, and feedba
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://marseventh.github.io/CloudFlare-ImgBed/star-history-dark.svg" />
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://marseventh.github.io/CloudFlare-ImgBed/star-history-light.svg" />
|
||||
<img alt="CloudFlare-ImgBed and Sanyue-ImgHub Star History Chart" src="https://marseventh.github.io/CloudFlare-ImgBed/star-history-light.svg" />
|
||||
<img alt="Star-History" src="https://marseventh.github.io/CloudFlare-ImgBed/star-history-light.svg" />
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
|
||||
+1
-1
@@ -171,7 +171,7 @@ CloudFlare ImgBed 是支持 Docker 与 Serverless 部署的自建图床和文件
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://marseventh.github.io/CloudFlare-ImgBed/star-history-dark.svg" />
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://marseventh.github.io/CloudFlare-ImgBed/star-history-light.svg" />
|
||||
<img alt="CloudFlare-ImgBed 和 Sanyue-ImgHub Star 趋势图" src="https://marseventh.github.io/CloudFlare-ImgBed/star-history-light.svg" />
|
||||
<img alt="Star-History" src="https://marseventh.github.io/CloudFlare-ImgBed/star-history-light.svg" />
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user