From e9675db11ad6a7f84ae1a65b6010196f92a79113 Mon Sep 17 00:00:00 2001 From: hitanshu310 Date: Fri, 23 Jan 2026 21:37:22 +0530 Subject: [PATCH] Remove fork sync job from test build workflow - Remove sync_forks job that was causing issues - Fork syncing doesn't work reliably in current setup - Keep core build and deployment functionality --- .gitea/workflows/test_image_build_push.yml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.gitea/workflows/test_image_build_push.yml b/.gitea/workflows/test_image_build_push.yml index a4ed4ea..2cf9344 100644 --- a/.gitea/workflows/test_image_build_push.yml +++ b/.gitea/workflows/test_image_build_push.yml @@ -64,23 +64,4 @@ jobs: run: | docker push 192.168.0.100:8928/hithomelabs/cftunnels:test docker push 192.168.0.100:8928/hithomelabs/cftunnels:${{ needs.tag.outputs.new_version }} - sync_forks: - name: Sync All Forks - runs-on: ubuntu-latest - needs: build_tag_push - steps: - - name: Check out repository code - uses: actions/checkout@v4 - - name: Sync all forks via Gitea API - run: | - echo "Fetching forks for Hithomelabs/CFTunnels..." - response=$(curl -s -X GET "https://gitea.hithomelabs.com/api/v1/repos/Hithomelabs/CFTunnels/forks" -H "Authorization: token ${{secrets.TOKEN}}") - filtered=$(echo "$response" | grep -o '"clone_url":"[^"]*"' | sed 's/"clone_url":"\([^"]*\)"/\1/' | grep -v "/Hithomelabs") - echo "Detected forks:" - echo "$filtered" - readarray -t forks <<< "$filtered" - for fork_url in "${forks[@]}"; do - echo "🔄 Syncing fork: $fork_url" - authed_url=$(echo "$fork_url" | sed "s#https://#https://${{secrets.TOKEN}}@#") - git push "$authed_url" test & - done +