mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
630c741d93
Hono web server that receives check_run.requested_action webhooks from GitHub, authenticates as the devops bot, updates the Check Run to in_progress, and dispatches showcase_eval.yml via workflow_dispatch. Includes GHCR build workflow and pnpm workspace registration.
36 lines
795 B
YAML
36 lines
795 B
YAML
name: "showcase / eval-webhook / build"
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "showcase/eval-webhook/**"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Log in to GHCR
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: showcase/eval-webhook
|
|
push: true
|
|
tags: |
|
|
ghcr.io/copilotkit/showcase-eval-webhook:latest
|
|
ghcr.io/copilotkit/showcase-eval-webhook:${{ github.sha }}
|