diff --git a/.github/workflows/liblab_update.yml b/.github/workflows/liblab_update.yml deleted file mode 100644 index e016be8e0..000000000 --- a/.github/workflows/liblab_update.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Latest liblab updates - -on: - workflow_dispatch: - schedule: - - cron: "0 11 * * *" # 11am UTC corresponds to 5am CST - -jobs: - generate-sdks-and-publish-prs: - name: Generate SDKs and publish PRs - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Generate SDKs and publish PRs - uses: liblaber/sdk-updates@v1.0.0 - with: - liblab_token: ${{ secrets.LIBLAB_TOKEN }} - liblab_github_token: ${{ secrets.LIBLAB_GITHUB_TOKEN }} diff --git a/.github/workflows/sdk-generation.yml b/.github/workflows/sdk-generation.yml deleted file mode 100644 index 765148736..000000000 --- a/.github/workflows/sdk-generation.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Generate TS SDK -permissions: - checks: write - contents: write - pull-requests: write - statuses: write -"on": - workflow_dispatch: - inputs: - force: - description: Force generation of SDKs - type: boolean - default: false - schedule: - - cron: 0 0 * * * -jobs: - generate: - uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 - with: - force: ${{ github.event.inputs.force }} - mode: pr - speakeasy_version: latest - secrets: - github_access_token: ${{ secrets.GH_TOKEN }} - speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} diff --git a/.github/workflows/sdks.yaml b/.github/workflows/sdks.yaml deleted file mode 100644 index 1f6b84f36..000000000 --- a/.github/workflows/sdks.yaml +++ /dev/null @@ -1,43 +0,0 @@ -name: Generate SDKs using liblab - -on: - push: - paths: - - "packages/api/swagger/swagger-spec.json" - # Add any other triggers you want here, such as a push to the spec file - workflow_call: - workflow_dispatch: -jobs: - build-and-pr: - name: Generate SDKs and create PRs - runs-on: ubuntu-latest - if: github.run_number != 1 - env: - LIBLAB_CI: true - LIBLAB_TOKEN: ${{ secrets.LIBLAB_TOKEN }} - LIBLAB_GITHUB_TOKEN: ${{ secrets.LIBLAB_GITHUB_TOKEN }} - steps: - - name: Check if secrets are set - run: | - if [[ -n "${{ secrets.LIBLAB_TOKEN }}" && -n "${{ secrets.LIBLAB_GITHUB_TOKEN }}" ]]; then - echo "Secrets are set, proceeding with the workflow" - else - echo "Error: Secrets LIBLAB_TOKEN and LIBLAB_GITHUB_TOKEN are required, see https://developers.liblab.com/tutorials/integrate-with-github-actions/#create-tokens" - echo "::error::Secrets LIBLAB_TOKEN and LIBLAB_GITHUB_TOKEN are required, see https://developers.liblab.com/tutorials/integrate-with-github-actions/#create-tokens" - exit 1 - fi - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Node.js environment - uses: actions/setup-node@v4 - with: - node-version: "20" - - name: Install liblab - run: npm install -g liblab - working-directory: packages/api - - name: Start Build - run: liblab build --yes - working-directory: packages/api - - name: Create PRs to GitHub repos - run: liblab pr - working-directory: packages/api diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml deleted file mode 100644 index be9b4256c..000000000 --- a/.speakeasy/workflow.yaml +++ /dev/null @@ -1,11 +0,0 @@ -workflowVersion: 1.0.0 -sources: - OpenAPI-Github-Main: - inputs: - - location: https://raw.githubusercontent.com/panoratech/Panora/main/packages/api/swagger/swagger-spec.json - registry: - location: registry.speakeasyapi.dev/panora/panora/open-api-github-main -targets: - my-first-target: - target: typescript - source: OpenAPI-Github-Main