mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-06 20:32:55 +08:00
* ci: upgrade GitHub Actions to support Node.js 24 - pnpm/action-setup: v4 → v5 - actions/upload-artifact: v4 → v6 - actions/download-artifact: v4 → v6 - sync.yaml: replace inactive aormsby/Fork-Sync-With-Upstream-action with gh repo sync Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * ci: replace softprops/action-gh-release with gh release CLI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(ci): use gh release upload instead of create for existing releases Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
459 B
YAML
19 lines
459 B
YAML
name: Upstream Sync
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * 1"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
sync_latest_from_upstream:
|
|
name: Sync latest commits from upstream repo
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.event.repository.fork }}
|
|
|
|
steps:
|
|
- name: Sync upstream changes
|
|
run: gh repo sync ${{ github.repository }} --source dreamhunter2333/cloudflare_temp_email --branch main
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|