Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version = 1

[[analyzers]]
name = "python"
enabled = true
[analyzers.meta]
runtime_version = "3.x"

[[analyzers]]
name = "javascript"
enabled = true

[[analyzers]]
name = "shell"
enabled = true

[[analyzers]]
name = "docker"
enabled = true
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
Comment thread
OneFineStarstuff marked this conversation as resolved.

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@23acc5c56da8f1d67c0558b779d201e5d797c271
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand Down Expand Up @@ -87,6 +87,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@23acc5c56da8f1d67c0558b779d201e5d797c271
with:
category: "/language:${{matrix.language}}"
6 changes: 3 additions & 3 deletions .github/workflows/daily-gsifi-governance-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@f677109307c7a44114705603b30e01c0ad72a39d
with:
python-version: '3.12'

Expand All @@ -77,7 +77,7 @@ jobs:

- name: Upload governance test report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: gsifi-governance-test-report
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:

steps:
- name: Setup repo
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Setup Deno
# uses: denoland/setup-deno@v1
# uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
with:
deno-version: v1.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

Check failure on line 16 in .github/workflows/docker-image.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/docker-image.yml#L16

Wrong indentation: expected 6 but found 4.
Comment thread
OneFineStarstuff marked this conversation as resolved.
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
4 changes: 2 additions & 2 deletions .github/workflows/federated-zk-docs-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@f677109307c7a44114705603b30e01c0ad72a39d
with:
python-version: '3.11'

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/governance-artifacts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
timeout-minutes: 12
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@f677109307c7a44114705603b30e01c0ad72a39d
with:
python-version: '3.12'
cache: 'pip'
Expand All @@ -51,7 +51,7 @@ jobs:
run: make governance-validate

- name: Setup OPA
uses: open-policy-agent/setup-opa@v2
uses: open-policy-agent/setup-opa@790401b7a0f785501861034177727192667d4e32
with:
version: v1.15.2

Expand All @@ -75,10 +75,10 @@ jobs:
timeout-minutes: 8
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@f677109307c7a44114705603b30e01c0ad72a39d
with:
python-version: '3.12'
cache: 'pip'
Expand All @@ -89,15 +89,15 @@ jobs:

- name: Upload G-Stack test artifacts
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: gstack-test-results
path: artifacts/test-results
if-no-files-found: ignore

- name: Upload G-Stack validation report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: gstack-validation-report
path: artifacts/validation/gstack-validation.json
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/governance-artifacts-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@f677109307c7a44114705603b30e01c0ad72a39d
with:
python-version: '3.11'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/governance-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@f677109307c7a44114705603b30e01c0ad72a39d
with:
python-version: '3.12'

Expand All @@ -30,7 +30,7 @@ jobs:

- name: Upload governance validation report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: governance-validation-report
path: .reports/governance-validation.json
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/governance-docs-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@60edb5dd545a775178f525247833781745262c6d
with:
node-version: '20'

Expand All @@ -50,7 +50,7 @@ jobs:
run: bash -n tests/test_lint_governance_docs.sh

- name: Shellcheck lint scripts
uses: ludeeus/action-shellcheck@2.0.0
uses: ludeeus/action-shellcheck@94e0a5663708a74e508827f311c818816c1416e8
with:
scandir: "scripts tests"
severity: warning
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jekyll-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

Check failure on line 15 in .github/workflows/jekyll-docker.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/jekyll-docker.yml#L15

Wrong indentation: expected 6 but found 4.
- name: Build the site in the jekyll/builder container
Comment thread
OneFineStarstuff marked this conversation as resolved.
run: |
docker run \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Labeler
uses: actions/labeler@v5
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
Comment thread
OneFineStarstuff marked this conversation as resolved.

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@944597f4a0709b9bc0446465693c7d9e1c15433d

- name: Log in to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514baad2da
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
with:
push: true
tags: your-dockerhub-username/agi-pipeline:latest
3 changes: 1 addition & 2 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

Check failure on line 15 in .github/workflows/makefile.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/makefile.yml#L15

Wrong indentation: expected 6 but found 4.
Comment thread
OneFineStarstuff marked this conversation as resolved.

- name: configure
Comment thread
OneFineStarstuff marked this conversation as resolved.
run: ./configure

- name: Install dependencies
run: make
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
Comment thread
OneFineStarstuff marked this conversation as resolved.
- name: Detect package manager
id: detect-package-manager
run: |
Expand All @@ -37,17 +37,17 @@ jobs:
false
fi
- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@60edb5dd545a775178f525247833781745262c6d
with:
node-version: "20"
cache: ${{ steps.detect-package-manager.outputs.manager }}
cache-dependency-path: next-app/package-lock.json
- name: Setup Pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@1f0c5cde4bc74c01375badad0f946a4993308d16
with:
static_site_generator: next
- name: Restore cache
uses: actions/cache@v4
uses: actions/cache@0c45773b623bec8c7efd44a0f4691c13d78905c1
with:
path: |
next-app/.next/cache
Expand All @@ -61,7 +61,7 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.runner }} next build
working-directory: next-app
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dee46298ecc2
with:
path: next-app/out

Expand All @@ -74,4 +74,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@d6db9015730510f01c9ca7c21b66236e14d1719c
4 changes: 2 additions & 2 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
max-parallel: 5

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

Check failure on line 12 in .github/workflows/python-package-conda.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/python-package-conda.yml#L12

Wrong indentation: expected 6 but found 4.
- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@f677109307c7a44114705603b30e01c0ad72a39d
with:
python-version: '3.10'
- name: Add conda to system path
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/regulator-blueprint-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@f677109307c7a44114705603b30e01c0ad72a39d
with:
python-version: '3.11'

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
make test-regulator-blueprint-artifacts

- name: Upload validator report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: regulator-blueprint-validation
path: regulator-blueprint-validation.json
6 changes: 3 additions & 3 deletions .github/workflows/sentinel-governance-gates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- uses: actions/setup-python@v5
- uses: actions/setup-python@f677109307c7a44114705603b30e01c0ad72a39d
with:
python-version: "3.11"

Expand All @@ -30,7 +30,7 @@ jobs:

- name: Upload validation report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: sentinel-governance-validation-report
path: /tmp/sentinel_governance_validation_report.json
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
Comment thread
OneFineStarstuff marked this conversation as resolved.
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v4
uses: github/super-linter@4483756a815a5f6e80b27902d3345e54d5b27163
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_TS_STANDARD: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

Check failure on line 18 in .github/workflows/webpack.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/webpack.yml#L18

Wrong indentation: expected 6 but found 4.

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@60edb5dd545a775178f525247833781745262c6d
with:
node-version: ${{ matrix.node-version }}

Expand Down
Loading
Loading