diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index c5d7f56..7e43120 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -1,5 +1,5 @@ name: on_pr -run-name: "on_pr: ${{ github.event.pull_request.number }}" +run-name: 'on_pr: ${{ github.event.pull_request.number }}' on: pull_request: @@ -18,6 +18,14 @@ jobs: secrets: fossa-api-key: ${{ secrets.FOSSA_API_KEY }} + audit-api-spec: + name: Audit API spec + uses: BitGo/gha-dev-portal-updater/.github/workflows/audit-api-spec.yaml@v5 + with: + repo_name: advanced-wallets + api_spec_path: ./src/masterBitgoExpress/routers/index.ts + service_file_name: advanced-wallets + build-docker-image: name: Build the Docker Image runs-on: ubuntu-latest diff --git a/.github/workflows/release-to-ghcr.yaml b/.github/workflows/release-to-ghcr.yaml index beec42d..9ed2ac2 100644 --- a/.github/workflows/release-to-ghcr.yaml +++ b/.github/workflows/release-to-ghcr.yaml @@ -163,3 +163,14 @@ jobs: VCS_REF=${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max + + update-api-docs: + name: Update API Docs (Internal Review) + uses: BitGo/gha-dev-portal-updater/.github/workflows/generate-and-update.yml@v5 + with: + target-repo: api-docs + service-name: advanced-wallets + api-spec-file: src/masterBitgoExpress/routers/index.ts + api-spec-title: Advanced Wallets + remote-working-directory: '' + secrets: inherit