Commit graph

11 commits

Author SHA1 Message Date
TonyBlur
736de16265 fix(ci): streamline upstream sync workflow by removing unnecessary steps and updating checkout action 2026-05-26 09:06:21 +08:00
TonyBlur
33bd1e3b08 fix(ci): replace UPSTREAM_TOKEN with GITHUB_TOKEN for checkout authentication 2026-05-26 08:45:13 +08:00
TonyBlur
6f2e31a764 fix(ci): use GITHUB_TOKEN instead of UPSTREAM_TOKEN for target repo authentication 2026-05-26 08:41:05 +08:00
github-actions[bot]
c76fd73abe fix(ci): Update actions/checkout and Fork-Sync-With-Upstream-action versions in sync-upstream workflow 2026-05-26 07:58:17 +08:00
TonyBlu
736e773362 ci: reduce sync frequency from every 6h to weekly (Sunday 00:00) 2026-05-25 22:57:41 +08:00
TonyBlu
0b66872d6b fix(ci): use UPSTREAM_TOKEN for both checkout and sync push
GITHUB_TOKEN cannot push commits that contain changes to
.github/workflows/ files (GitHub security restriction).
Use a Classic PAT with 'repo' + 'workflow' scopes instead.

Also add explicit checkout with fetch-depth:0 and ref:master
so the Fork-Sync action has full history for merging.
2026-05-25 22:50:00 +08:00
TonyBlu
e7f816a5bd fix(ci): align sync workflow with lobehub reference, use GITHUB_TOKEN
Revert to actions-cool/issues-helper and aormsby/Fork-Sync-With-Upstream-action
(matching lobehub/lobehub upstream sync pattern) with pinned SHA for v3.7.6.
Uses GITHUB_TOKEN which works when repo Settings > Actions > Workflow permissions
is set to 'Read and write permissions'.
2026-05-25 22:38:25 +08:00
TonyBlu
c0e7232a64 fix(ci): require UPSTREAM_TOKEN PAT for fork sync push
GITHUB_TOKEN cannot push to fork repos in scheduled workflows.
Remove the GITHUB_TOKEN fallback so the workflow fails explicitly
when UPSTREAM_TOKEN is missing, instead of silently 403-ing.
Also add issues:write permission and git user config for merges.
2026-05-25 22:29:58 +08:00
TonyBlu
a85a564ed5 fix(ci): rewrite sync-upstream workflow to avoid third-party actions
Replace actions-cool/issues-helper and aormsby/Fork-Sync-With-Upstream-action
with native git commands and actions/github-script. This fixes the
'Repository access blocked' error caused by GitHub restricting access
to third-party actions in fork repositories.
2026-05-25 22:26:01 +08:00
TonyBlur
6e161f4b4b Add auto download and pause resume controls 2026-05-25 16:28:15 +08:00
TonyBlu
44c42b3773 Refresh frontend with cohesive modern UI styling 2026-04-30 14:58:14 +08:00