From 7d9806a050ce915f78f8adb55c3c5f9202d0d125 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Sun, 30 Nov 2025 00:42:23 -0600 Subject: [PATCH] chore: improve commit message formatting in OpenAPI sync workflow - Updated the GitHub Actions workflow to format the commit message for OpenAPI specification updates using multiple `-m` flags for better readability and clarity. - Added `continue-on-error: true` to the repository dispatch step to ensure the workflow proceeds even if the dispatch fails. --- .github/workflows/sync-openapi-docs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sync-openapi-docs.yml b/.github/workflows/sync-openapi-docs.yml index 107799faa..1d9ab063c 100644 --- a/.github/workflows/sync-openapi-docs.yml +++ b/.github/workflows/sync-openapi-docs.yml @@ -62,10 +62,9 @@ jobs: echo "HAS_CHANGES=true" >> $GITHUB_ENV # Commit los cambios - git commit -m "chore: update OpenAPI specification [skip ci] - -Generated from commit: ${{ github.sha }} -Triggered by: ${{ github.event_name }}" + git commit -m "chore: update OpenAPI specification [skip ci]" \ + -m "Generated from commit: ${{ github.sha }}" \ + -m "Triggered by: ${{ github.event_name }}" git push @@ -76,9 +75,10 @@ Triggered by: ${{ github.event_name }}" uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.DOCS_SYNC_TOKEN }} - repository: dokploy/website # Cambia por tu repo de docs + repository: dokploy/website event-type: openapi-updated client-payload: '{"commit": "${{ github.sha }}", "timestamp": "${{ github.event.head_commit.timestamp }}"}' + continue-on-error: true - name: Create summary run: |