Skip to content
Merged
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
16 changes: 16 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version = 1

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

[analyzers.meta]
runtime_version = "3.x"

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

[[analyzers]]
name = "shell"
enabled = true
22 changes: 11 additions & 11 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
pull_request:
branches: [ "main" ]
schedule:
- cron: '31 17 * * 1'
- cron: '31 17 * * 1'

Check failure on line 20 in .github/workflows/codeql.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/codeql.yml#L20

Wrong indentation: expected 4 but found 6.

jobs:
analyze:
Expand Down Expand Up @@ -54,13 +54,13 @@
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# 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
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

# Initializes the CodeQL tools for scanning.

Check warning on line 60 in .github/workflows/codeql.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/codeql.yml#L60

Comment not indented like content. (comments-indentation)
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
- name: Initialize CodeQL
uses: github/codeql-action/init@a65a038433a26f4363cf9f029e3b9ceac831ad5d
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -70,23 +70,23 @@
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with

Check warning on line 73 in .github/workflows/codeql.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/codeql.yml#L73

Comment not indented like content. (comments-indentation)
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
- if: matrix.build-mode == 'manual'
shell: bash
run: |
run: |
Comment thread
OneFineStarstuff marked this conversation as resolved.
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1
Comment thread
OneFineStarstuff marked this conversation as resolved.

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@a65a038433a26f4363cf9f029e3b9ceac831ad5d
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@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
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@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
with:
name: gsifi-governance-test-report
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Setup repo
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Setup Deno
# uses: denoland/setup-deno@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- 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@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
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@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
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@34a30e8a924d1b03ce2cf7abe97250bbb1f332b5
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@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
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@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
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@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
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@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
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@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
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@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
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@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
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@00cae500b08a931fb5698e11e79bfbd38e612a38
with:
scandir: "scripts tests"
severity: warning
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/jekyll-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the site in the jekyll/builder container
run: |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
Comment thread
OneFineStarstuff marked this conversation as resolved.
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@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Labeler
uses: actions/labeler@v5
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v1.6.0 # v1.6.0

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
- name: Log in to Docker Hub
uses: docker/login-action@0d4c9c5f114e0051d914bca15554477dd762a938 # v1.14.1 # v1.14.1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Comment thread
OneFineStarstuff marked this conversation as resolved.

- name: Build and push
uses: docker/build-push-action@v2
with:
- name: Build and push
uses: docker/build-push-action@ad82d024503b15000a683bdffec2bb5c0ccca10c # v2.10.0 # v2.10.0
with:
push: true
tags: your-dockerhub-username/agi-pipeline:latest
Comment thread
OneFineStarstuff marked this conversation as resolved.
18 changes: 5 additions & 13 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,12 @@

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: configure
run: ./configure

- name: Install dependencies
run: make
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

Check warning on line 13 in .github/workflows/makefile.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/makefile.yml#L13

Too few spaces before comment: expected 2. (comments)

- name: Run check
run: make check
- name: Install dependencies
run: make help || true

- name: Run distcheck
run: make distcheck
- name: Run pycompile
run: make daily-gsifi-governance-pycompile
6 changes: 3 additions & 3 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
name:

Check failure on line 11 in .github/workflows/manual.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/manual.yml#L11

Wrong indentation: expected 6 but found 8.
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
# Default value if no value is explicitly provided
Expand All @@ -27,6 +27,6 @@

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell

Check warning on line 30 in .github/workflows/manual.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/manual.yml#L30

Comment not indented like content. (comments-indentation)
- name: Send greeting
run: echo "Hello ${{ inputs.name }}"
- name: Send greeting
run: echo "Hello ${{ inputs.name }}"
14 changes: 7 additions & 7 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Detect package manager
id: detect-package-manager
run: |
Expand All @@ -37,17 +37,17 @@
false
fi
- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
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@983d7736d9b0ae728b81ab479565c72886d7745b
with:
static_site_generator: next
- name: Restore cache
uses: actions/cache@v4
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: |
next-app/.next/cache
Expand All @@ -61,17 +61,17 @@
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@56afc609e74202658d3ffba0e8f6dda462b719fa
with:
path: next-app/out

deploy:
environment:
name: github-pages
name: github-pages

Check failure on line 70 in .github/workflows/nextjs.yml

View check run for this annotation

codefactor.io / CodeFactor

.github/workflows/nextjs.yml#L70

Wrong indentation: expected 6 but found 8.
url: ${{ steps.deployment.outputs.page_url }}
Comment thread
OneFineStarstuff marked this conversation as resolved.
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
Loading
Loading