From 83684034896d27874bb565924affae40a8e498aa Mon Sep 17 00:00:00 2001 From: squid-protocol Date: Sun, 12 Jul 2026 17:41:06 -0400 Subject: [PATCH 1/2] ci: add bitbucket automated sync to release pipeline --- .github/workflows/publish.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fa5eff8a..5cb0b48f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,3 +54,19 @@ jobs: git remote add gitlab https://oauth2:${{ secrets.GITLAB_SYNC_TOKEN }}@gitlab.com/squid-protocol1/gitgalaxy.git git push -f gitlab HEAD:main git push -f --tags gitlab + + bitbucket-sync: + name: Sync to Bitbucket Repository + needs: pypi-publish + runs-on: ubuntu-latest + steps: + - name: Checkout GitHub Repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Sync Code and Tags to Bitbucket + run: | + git remote add bitbucket https://${{ secrets.BITBUCKET_USERNAME }}:${{ secrets.BITBUCKET_SYNC_TOKEN }}@bitbucket.org/squid-protocol/gitgalaxy.git + git push -f bitbucket HEAD:main + git push -f --tags bitbucket From 273621794bf64cb391b4a93d0f7a90654cd386f2 Mon Sep 17 00:00:00 2001 From: squid-protocol Date: Sun, 12 Jul 2026 17:48:12 -0400 Subject: [PATCH 2/2] ci: add bitbucket automated sync to release pipeline --- bitbucket-pipelines.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml deleted file mode 100644 index 4fd99c21..00000000 --- a/bitbucket-pipelines.yml +++ /dev/null @@ -1,24 +0,0 @@ -# GitGalaxy Enterprise Security Scanner -# Integration: Bitbucket Pipelines - -image: python:3.12-slim - -pipelines: - default: - - step: - name: 'GitGalaxy Zero-Trust Spectral Audit' - caches: - - pip - script: - # 1. Initialize Python Environment & Install GitGalaxy CLI Engine - # Added heavy physics engines for full precision (networkx, tiktoken, etc.) - - pip install --upgrade pip - - pip install gitgalaxy>=2.4.0 networkx tiktoken xgboost pandas numpy - - # 2. Execute Zero-Trust Spectral Audit with Enterprise Gates - # Added --ignore tests/ to prevent mock data from tripping the secrets firewall - - galaxyscope gitgalaxy/ --max-risk-exposure ${GITGALAXY_MAX_RISK:-95} --fail-on-secrets --fail-on-malware --sarif-only --output gitgalaxy-results_sarif.json - - artifacts: - # 3. Publish SARIF telemetry for Bitbucket Code Insights - - gitgalaxy-results_sarif.json