From bb0d9ac25ce747c0ff9595773d5737d48771aefb Mon Sep 17 00:00:00 2001 From: CorrectRoad Date: Wed, 11 Sep 2024 17:00:28 +0900 Subject: [PATCH] feat: add sync OpenAPI workflows (#1995) --- .github/sync_openapi.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/sync_openapi.yml diff --git a/.github/sync_openapi.yml b/.github/sync_openapi.yml new file mode 100644 index 000000000..55466f86d --- /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 }}