mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-30 04:49:33 +00:00
chore: Align improve workflow with refactor workflow
- Use env vars from secrets instead of hardcoded names - Add issues trigger (opened, reopened) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a361d92e13
commit
460ee25690
1 changed files with 5 additions and 1 deletions
6
.github/workflows/improve.yml
vendored
6
.github/workflows/improve.yml
vendored
|
|
@ -3,6 +3,8 @@ name: Trigger Improve
|
|||
on:
|
||||
schedule:
|
||||
- cron: '*/30 * * * *'
|
||||
issues:
|
||||
types: [opened, reopened]
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
|
|
@ -16,7 +18,9 @@ jobs:
|
|||
- name: Trigger improve sprite
|
||||
env:
|
||||
SPRITE_TOKEN: ${{ secrets.SPRITE_TOKEN }}
|
||||
SPRITE_NAME: ${{ secrets.IMPROVE_SPRITE_NAME }}
|
||||
SVC_NAME: ${{ secrets.IMPROVE_SERVICE_NAME }}
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: Bearer ${SPRITE_TOKEN}" \
|
||||
"https://api.sprites.dev/v1/sprites/lab-spawn-discovery/services/improve-trigger/start"
|
||||
"https://api.sprites.dev/v1/sprites/${SPRITE_NAME}/services/${SVC_NAME}/start"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue