-
Notifications
You must be signed in to change notification settings - Fork 3
Feature/honest readmes #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
2b291c7
docs: correct README claims (BLAST/CWE framing, O(N) claim, signal co…
squid-protocol 5eae91b
fix(bitbucket): invoke insights script post-scan; don't fail build on…
squid-protocol a81f7a9
fix(gitlab): correct missing space between GG_TARGET and GG_ARGS in s…
squid-protocol 8bb3dbc
docs: use sub read-me for more technical descriptions
squid-protocol 75858cc
chore: decentralize engine versioning and scrub hardcoded v6.x.x refe…
squid-protocol 6ba3779
feat(github-action): add post-gate reporting job (SARIF/SBOM/LLM brie…
squid-protocol 772b4f9
chore: remove redundant workflow files (merged into gitgalaxy.yml)
squid-protocol cd6b185
Merge branch 'main' into feature/honest_readmes
squid-protocol de66f73
fix(templates): correct azure checkout ordering, restore missing bitb…
squid-protocol ee8922f
feat(github-template): add missing galaxyscope reporting job for 4-ch…
squid-protocol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,53 +1,116 @@ | ||
| name: GitGalaxy Zero-Trust Pipeline | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| push: | ||
| branches: [main] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| # ============================================================ | ||
| # PRE-GATE — runs on every PR, blocks the merge on failure. | ||
| # Fast; no heavy ML/graph dependencies installed. | ||
| # ============================================================ | ||
| vault-sentinel: | ||
| if: github.event_name == 'pull_request' | ||
| name: Vault Sentinel | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: ./ | ||
| with: | ||
| tool: vault-sentinel | ||
| target: . | ||
| version: local | ||
|
|
||
| xray-inspector: | ||
| if: github.event_name == 'pull_request' | ||
| name: X-Ray Inspector | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: ./ | ||
| with: | ||
| tool: xray-inspector | ||
| target: . | ||
| version: local | ||
|
|
||
| supply-chain-firewall: | ||
| if: github.event_name == 'pull_request' | ||
| name: Supply Chain Firewall | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: ./ | ||
| with: | ||
| tool: supply-chain-firewall | ||
| target: . | ||
| version: local | ||
| version: local | ||
|
|
||
| # ============================================================ | ||
| # POST-GATE — runs only once code is on main (merge or direct | ||
| # push). One galaxyscope pass produces all 6 outputs; we route | ||
| # 3 of them and let the rest live only in the ephemeral runner. | ||
| # --fail-on-malware stays on here too, as a safety net in case | ||
| # branch protection is ever bypassed. | ||
| # ============================================================ | ||
| full-report: | ||
| if: github.event_name == 'push' | ||
| name: Full Report (SARIF, SBOM, LLM Brief) | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write # commits the LLM brief back to docs/ | ||
| security-events: write # uploads SARIF to the Security tab | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
| with: | ||
| fetch-depth: 0 | ||
| persist-credentials: true | ||
|
|
||
| - name: Setup Python | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 | ||
| with: | ||
| python-version: "3.12" | ||
| cache: "pip" | ||
|
|
||
| - name: Install GitGalaxy & Full Precision Engines | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install gitgalaxy networkx tiktoken xgboost pandas numpy | ||
|
|
||
| - name: Run GalaxyScope (single pass — all 6 outputs) | ||
| env: | ||
| GITGALAXY_LICENSE_KEY: "COMMUNITY_FREE_TIER" | ||
| run: | | ||
| galaxyscope . --config .galaxyscope.yaml --fail-on-malware --output gitgalaxy-results | ||
|
|
||
| - name: Upload SARIF to GitHub Security Tab | ||
| uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4 | ||
| with: | ||
| sarif_file: gitgalaxy-results_sarif.json | ||
|
|
||
| - name: Upload SBOM as Build Artifact | ||
| uses: actions/upload-artifact@v7 | ||
| with: | ||
| name: gitgalaxy-sbom | ||
| path: gitgalaxy-results_sbom.json | ||
|
|
||
| - name: Commit LLM Brief to Docs | ||
| run: | | ||
| mkdir -p docs | ||
| mv *_galaxy_llm.md docs/gitgalaxy_architecture_brief.md | ||
|
|
||
| git config --global user.name "github-actions[bot]" | ||
| git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| git add docs/gitgalaxy_architecture_brief.md | ||
| git diff --quiet && git diff --staged --quiet || (git commit -m "docs: auto-update LLM architectural brief" && git push) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.