fix: solve problems with codegate cli and previous context #229
Workflow file for this run
This file contains 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
# These set of workflows run on every pull request | |
name: Run - pull_request | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
security: | |
name: Security Checks | |
uses: ./.github/workflows/security.yml | |
ci: | |
name: Build, Test & Lint | |
uses: ./.github/workflows/ci.yml | |
image-build: | |
name: OCI Image - Build | |
needs: [ci] # No need to build the image if the CI fails | |
uses: ./.github/workflows/image-build.yml | |
with: | |
artifact-name: "codegate-image" | |
integration-tests: | |
if: github.event.pull_request.head.repo.full_name == 'stacklok/codegate' | |
name: Integration Tests | |
needs: [ci, image-build] # We need the image available in order to run the integration tests | |
uses: ./.github/workflows/integration-tests.yml | |
with: | |
artifact-name: "codegate-image" | |
secrets: | |
copilot-key: ${{ secrets.INTEGRATION_TESTS_COPILOT_KEY }} | |
anthropic-key: ${{ secrets.INTEGRATION_TESTS_ANTHROPIC_KEY }} |