-
Notifications
You must be signed in to change notification settings - Fork 23
23 lines (23 loc) · 742 Bytes
/
Copy pathtest.yml
File metadata and controls
23 lines (23 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: ci
on:
push:
branches: ["**", "!main"]
jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- name: Generate an agent token
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.KAL_APP_ID }}
private-key: ${{ secrets.KAL_PRIVATE_KEY }}
- uses: actions/checkout@v4
- uses: dagger/dagger-for-github@8.0.0
- name: Check
run: dagger call check --github-token GH_TOKEN --model claude-sonnet-4-0 --commit $GITHUB_SHA
env:
DAGGER_CLOUD_TOKEN: ${{ secrets.DAGGER_CLOUD_TOKEN }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GH_TOKEN: ${{ steps.generate-token.outputs.token }}