Skip to content

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

feat: add sync OpenAPI workflows (#1995)

CorrectRoadbb0d9ac25ce7
diff --git a/.github/sync_openapi.yml b/.github/sync_openapi.yml
new file mode 100644
index 0000000..55466f8
--- /dev/null
+++ b/.github/sync_openapi.yml
@@ -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 }}