Skip to content
34 changes: 34 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Upstream Sync

permissions:
contents: write

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
sync_with_upstream:
name: Sync with Upstream
runs-on: ubuntu-latest
if: ${{ github.event.repository.fork }}

steps:
- name: Checkout target repo
uses: actions/checkout@v3

- name: Sync Upstream
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
with:
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
upstream_sync_repo: HackJava/HackJava
upstream_sync_branch: main
target_sync_branch: main
test_mode: false

- name: Check for Failure
if: failure()
run: |
echo "[Error] Due to a change in the workflow file of the upstream repository, GitHub has automatically suspended the scheduled automatic update. You need to manually sync your fork."
exit 1
13 changes: 13 additions & 0 deletions custom/custom-groups.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
proxy-groups:
- name: PROXY
type: select
proxies:
- link1
- link2
- link3
- SOS.CMLiussss
- s.soo.cloudns.org
- gist-chinabox
- solace.3eye3.eu.org
- FreeNodes
- 2b3.soo.cloudns.nz
24 changes: 24 additions & 0 deletions custom/custom-providers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
proxy-providers:
SOS.CMLiussss:
<<: *providers
url: "https://SOS.CMLiussss.net/auto"

s.soo.cloudns.org:
<<: *providers
url: "https://s.soo.cloudns.org/sub/a55cf6c1-df22-4530-b9be-aeb837ac33ea"

gist-chinabox:
<<: *providers
url: "https://gist.githubusercontent.com/jinlon-08/06b5015c01c4190def8a171ed61abfd4/raw/mihomo.yaml"

solace.3eye3.eu.org:
<<: *providers
url: "https://solace.3eye3.eu.org/sub?token=850bc1b97675b9b0bfd4d4489aaf25ef"

FreeNodes:
<<: *providers
url: "https://gist.githubusercontent.com/shuaidaoya/9e5cf2749c0ce79932dd9229d9b4162b/raw/base64.txt"

2b3.soo.cloudns.nz:
<<: *providers
url: "https://2b3.soo.cloudns.nz/sub/66a0719f-c252-42e6-b89f-77c707b7449a"
Loading