diff --git a/.github/workflows/test-deploy.yaml b/.github/workflows/test-deploy.yaml index 2e95bed9..9fa16b4e 100644 --- a/.github/workflows/test-deploy.yaml +++ b/.github/workflows/test-deploy.yaml @@ -26,3 +26,8 @@ jobs: run: npm run build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + update-vendored-specs: + needs: test-deploy + if: failure() + uses: ./.github/workflows/update-vendored-specs.yaml diff --git a/.github/workflows/update-vendored-specs.yaml b/.github/workflows/update-vendored-specs.yaml index 83a14634..8ca2cd1d 100644 --- a/.github/workflows/update-vendored-specs.yaml +++ b/.github/workflows/update-vendored-specs.yaml @@ -2,6 +2,7 @@ name: Update vendored OpenAPI specs on: workflow_dispatch: + workflow_call: concurrency: group: update-vendored-specs @@ -26,7 +27,7 @@ jobs: - name: Set up git identity run: | git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - name: Install dependencies run: npm ci