From 2fc4ad4696d7226517d326bd648e45eaebfec33a Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 08:53:12 +0000 Subject: [PATCH 1/4] ci: migrate workflow-dispatch from the-actions-org to benc-uk v1.3.0 Migrate from the-actions-org/workflow-dispatch@v4 to benc-uk/workflow-dispatch@v1.3.0 which uses the new GitHub API return_run_details parameter for deterministic run ID resolution. Changes: - Pin to benc-uk/workflow-dispatch@a54f9d1 (v1.3.0) - wait-for-completion-timeout -> wait-timeout-seconds (1800s = 30m) - workflow-url output -> runUrlHtml output - Remove workflow-conclusion output (not available in benc-uk) Co-Authored-By: AJ Steers --- .github/workflows/prerelease-command.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prerelease-command.yml b/.github/workflows/prerelease-command.yml index ccfdf31bc..94a7feceb 100644 --- a/.github/workflows/prerelease-command.yml +++ b/.github/workflows/prerelease-command.yml @@ -82,17 +82,16 @@ jobs: private-key: ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }} - name: Trigger pypi_publish workflow id: dispatch - uses: the-actions-org/workflow-dispatch@v4 + uses: benc-uk/workflow-dispatch@a54f9d194fed472732282ed1597dc4909e4b4080 # v1.3.0 with: workflow: pypi_publish.yml token: ${{ steps.get-app-token.outputs.token }} ref: main # Run from main so OIDC attestation matches trusted publisher inputs: '{"git_ref": "refs/pull/${{ github.event.inputs.pr }}/head", "version_override": "${{ needs.resolve-pr.outputs.prerelease-version }}", "publish": "true"}' wait-for-completion: true - wait-for-completion-timeout: 30m + wait-timeout-seconds: 1800 outputs: - workflow-conclusion: ${{ steps.dispatch.outputs.workflow-conclusion }} - workflow-url: ${{ steps.dispatch.outputs.workflow-url }} + workflow-url: ${{ steps.dispatch.outputs.runUrlHtml }} post-result-comment: name: Write Status to PR From 79219aae7028e959c88d25b3c83b062891e5a23c Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 08:59:59 +0000 Subject: [PATCH 2/4] ci: add conclusion check after wait-for-completion benc-uk/workflow-dispatch v1.3.0 does not fail the step when the dispatched workflow fails (it only checks status, not conclusion). Add an explicit gh run view check to fail the job properly when the dispatched workflow concludes with anything other than success. Co-Authored-By: AJ Steers --- .github/workflows/prerelease-command.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/prerelease-command.yml b/.github/workflows/prerelease-command.yml index 94a7feceb..8774318c0 100644 --- a/.github/workflows/prerelease-command.yml +++ b/.github/workflows/prerelease-command.yml @@ -90,6 +90,16 @@ jobs: inputs: '{"git_ref": "refs/pull/${{ github.event.inputs.pr }}/head", "version_override": "${{ needs.resolve-pr.outputs.prerelease-version }}", "publish": "true"}' wait-for-completion: true wait-timeout-seconds: 1800 + - name: Verify dispatched workflow succeeded + run: | + CONCLUSION=$(gh run view ${{ steps.dispatch.outputs.runId }} --repo airbytehq/PyAirbyte --json conclusion -q .conclusion) + echo "Dispatched workflow conclusion: $CONCLUSION" + if [ "$CONCLUSION" != "success" ]; then + echo "::error::Dispatched workflow concluded with: $CONCLUSION" + exit 1 + fi + env: + GH_TOKEN: ${{ steps.get-app-token.outputs.token }} outputs: workflow-url: ${{ steps.dispatch.outputs.runUrlHtml }} From 9109931cd9e345f979dc6200d75c6ec83624d0a4 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 09:03:12 +0000 Subject: [PATCH 3/4] ci: use github.repository instead of hardcoded repo name Co-Authored-By: AJ Steers --- .github/workflows/prerelease-command.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prerelease-command.yml b/.github/workflows/prerelease-command.yml index 8774318c0..5840e307e 100644 --- a/.github/workflows/prerelease-command.yml +++ b/.github/workflows/prerelease-command.yml @@ -92,7 +92,7 @@ jobs: wait-timeout-seconds: 1800 - name: Verify dispatched workflow succeeded run: | - CONCLUSION=$(gh run view ${{ steps.dispatch.outputs.runId }} --repo airbytehq/PyAirbyte --json conclusion -q .conclusion) + CONCLUSION=$(gh run view ${{ steps.dispatch.outputs.runId }} --repo ${{ github.repository }} --json conclusion -q .conclusion) echo "Dispatched workflow conclusion: $CONCLUSION" if [ "$CONCLUSION" != "success" ]; then echo "::error::Dispatched workflow concluded with: $CONCLUSION" From 51167cc425099912797a70a9e621944b8027a15f Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sun, 22 Feb 2026 03:35:58 +0000 Subject: [PATCH 4/4] ci: remove verification step per review feedback Co-Authored-By: AJ Steers --- .github/workflows/prerelease-command.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/prerelease-command.yml b/.github/workflows/prerelease-command.yml index 5840e307e..94a7feceb 100644 --- a/.github/workflows/prerelease-command.yml +++ b/.github/workflows/prerelease-command.yml @@ -90,16 +90,6 @@ jobs: inputs: '{"git_ref": "refs/pull/${{ github.event.inputs.pr }}/head", "version_override": "${{ needs.resolve-pr.outputs.prerelease-version }}", "publish": "true"}' wait-for-completion: true wait-timeout-seconds: 1800 - - name: Verify dispatched workflow succeeded - run: | - CONCLUSION=$(gh run view ${{ steps.dispatch.outputs.runId }} --repo ${{ github.repository }} --json conclusion -q .conclusion) - echo "Dispatched workflow conclusion: $CONCLUSION" - if [ "$CONCLUSION" != "success" ]; then - echo "::error::Dispatched workflow concluded with: $CONCLUSION" - exit 1 - fi - env: - GH_TOKEN: ${{ steps.get-app-token.outputs.token }} outputs: workflow-url: ${{ steps.dispatch.outputs.runUrlHtml }}