-
Notifications
You must be signed in to change notification settings - Fork 0
Align spellcheck action with SoftwareDevLabs/SDLC_core #35
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
14 commits
Select commit
Hold shift + click to select a range
80cbc95
Potential fix for code scanning alert no. 644: Shell command built fr…
vinod0m 2b07928
Potential fix for code scanning alert no. 678: Workflow does not cont…
vinod0m 79d2557
Potential fix for code scanning alert no. 667: Workflow does not cont…
vinod0m 7edd90d
Potential fix for code scanning alert no. 655: Workflow does not cont…
vinod0m b8f2d18
Potential fix for code scanning alert no. 649: Workflow does not cont…
vinod0m 4687cbd
Potential fix for code scanning alert no. 643: Workflow does not cont…
vinod0m c6cc1a2
Potential fix for code scanning alert no. 641: Workflow does not cont…
vinod0m f1fb781
fix: Align spellcheck action with SoftwareDevLabs/SDLC_core
google-labs-jules[bot] 51c08e2
Potential fix for code scanning alert no. 5728: Workflow does not con…
vinod0m dc4faca
Update scripts/evaluate-prompt.py
vinod0m 05cb154
Update src/agents/deepagent.py
vinod0m e8fb4c0
Update src/agents/deepagent.py
vinod0m 805d948
Update src/agents/deepagent.py
vinod0m 9528f3b
Resolve merge conflict: remove update-types.ts as per main branch
vinod0m 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 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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # API Keys for LLM Providers | ||
| # Copy this file to .env and fill in the values. | ||
| GOOGLE_GEMINI_API_KEY=your_api_key_here | ||
| OPENAI_API_KEY=your_api_key_here |
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 |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| name: 'Setup Python Environment' | ||
| description: 'Checks out code, sets up Python, caches dependencies, and installs them.' | ||
| inputs: | ||
| python-version: | ||
| description: 'The Python version to use.' | ||
| required: true | ||
| default: '3.11' | ||
| install-dev-reqs: | ||
| description: 'Whether to install requirements-dev.txt' | ||
| required: false | ||
| default: 'true' | ||
| install-docs-reqs: | ||
| description: 'Whether to install requirements-docs.txt' | ||
| required: false | ||
| default: 'false' | ||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ inputs.python-version }} | ||
| - name: Cache pip | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ~/.cache/pip | ||
| # Include all requirements files in the cache key | ||
| key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/requirements*.txt') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-pip-${{ inputs.python-version }}- | ||
| ${{ runner.os }}-pip- | ||
| - name: Install dependencies | ||
| shell: bash | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| if [ -f requirements.txt ]; then | ||
| pip install -r requirements.txt | ||
| fi | ||
| if [ "${{ inputs.install-dev-reqs }}" == "true" ] && [ -f requirements-dev.txt ]; then | ||
| pip install -r requirements-dev.txt | ||
| fi | ||
| if [ "${{ inputs.install-docs-reqs }}" == "true" ] && [ -f requirements-docs.txt ]; then | ||
| pip install -r requirements-docs.txt | ||
| fi |
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
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 |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| name: 'Dependency Review' | ||
| on: [pull_request] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| dependency-review: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: 'Checkout Repository' | ||
| uses: actions/checkout@v4 | ||
| - name: 'Dependency Review' | ||
| uses: actions/dependency-review-action@v4 |
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 |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: 'Docker Image Scan' | ||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| pull_request: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build-and-scan: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Build an image from Dockerfile | ||
| id: build-image | ||
| run: | | ||
| docker build -t ${{ github.repository }}:latest . | ||
|
|
||
| - name: Run Trivy vulnerability scanner | ||
| uses: aquasecurity/trivy-action@master | ||
| with: | ||
| image-ref: '${{ github.repository }}:latest' | ||
| format: 'table' | ||
| exit-code: '0' | ||
| ignore-unfixed: true | ||
| vuln-type: 'os,library' | ||
| severity: 'CRITICAL,HIGH' |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| permissions: | ||
| contents: read | ||
| name: 'Prompt Evaluation' | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| prompt_file: | ||
| description: 'Path to the prompt file (e.g., data/prompts/default.yaml)' | ||
| required: true | ||
| default: 'data/prompts/default.yaml' | ||
| provider: | ||
| description: 'LLM provider to use (gemini, openai, ollama)' | ||
| required: true | ||
| default: 'gemini' | ||
| model: | ||
| description: 'Model name to use' | ||
| required: false | ||
|
|
||
| jobs: | ||
| evaluate: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Setup Python Environment | ||
| uses: ./.github/actions/setup-python-env | ||
| with: | ||
| python-version: '3.11' | ||
|
|
||
| - name: Run prompt evaluation | ||
| env: | ||
| GOOGLE_GEMINI_API_KEY: ${{ secrets.GOOGLE_GEMINI_API_KEY }} | ||
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
| PYTHONPATH: . | ||
| run: | | ||
| python scripts/evaluate-prompt.py \ | ||
| --prompt-file ${{ github.event.inputs.prompt_file }} \ | ||
| --provider ${{ github.event.inputs.provider }} \ | ||
| --model ${{ github.event.inputs.model }} \ | ||
| --output-file prompt-output.txt | ||
|
|
||
| - name: Upload prompt output | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: prompt-output-${{ github.event.inputs.provider }}-${{ github.event.inputs.model || 'default' }} | ||
| path: prompt-output.txt | ||
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
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 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
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.