From 431fc04f93c4e2831414edd38cc00794d9ea6edf Mon Sep 17 00:00:00 2001 From: Rick Staa Date: Sat, 20 Jul 2024 14:22:05 +0200 Subject: [PATCH] ci: add OpenAPI sync client payload This commit adds the trigger commit to the repository-dispatch call. --- ...tream-openapi-sync.yml => trigger-upstream-openapi-sync.yaml} | 1 + 1 file changed, 1 insertion(+) rename .github/workflows/{trigger-upstream-openapi-sync.yml => trigger-upstream-openapi-sync.yaml} (89%) diff --git a/.github/workflows/trigger-upstream-openapi-sync.yml b/.github/workflows/trigger-upstream-openapi-sync.yaml similarity index 89% rename from .github/workflows/trigger-upstream-openapi-sync.yml rename to .github/workflows/trigger-upstream-openapi-sync.yaml index cb795aff..9ee36bbf 100644 --- a/.github/workflows/trigger-upstream-openapi-sync.yml +++ b/.github/workflows/trigger-upstream-openapi-sync.yaml @@ -19,3 +19,4 @@ jobs: token: ${{ secrets.DOCS_TRIGGER_PAT }} repository: rickstaa/docs event-type: update-ai-openapi + client-payload: '{"sha": "${{ github.sha }}"}'