From e8f9d3aaf5d8f1dae932185965bf02595b6b6a88 Mon Sep 17 00:00:00 2001 From: CorrectRoad Date: Wed, 11 Sep 2024 17:04:30 +0900 Subject: [PATCH] fix: fix GitHub Action not work (#1996) --- .github/workflows/sync_openapi.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/sync_openapi.yml diff --git a/.github/workflows/sync_openapi.yml b/.github/workflows/sync_openapi.yml new file mode 100644 index 0000000..55466f8 --- /dev/null +++ b/.github/workflows/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 }}