forked from stacklok/codegate
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 976 Bytes
/
run-on-pr.yml
File metadata and controls
31 lines (29 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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
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 }}
openrouter-key: ${{ secrets.INTEGRATION_TESTS_OPENROUTER_KEY }}