feat: add sync OpenAPI workflows (#1995)

This commit is contained in:
CorrectRoad 2024-09-11 17:00:28 +09:00 committed by GitHub
parent 3a835c00e3
commit bb0d9ac25c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

19
.github/sync_openapi.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Sync OpenAPI
on:
workflow_call:
inputs:
project-name:
required: true
type: string
push:
branches:
- main
jobs:
sync:
uses: IceWhaleTech/github/.github/workflows/sync_openapi.yml@main
with:
project-name: casaos
secrets:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}