diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 0072fc916..7c7efc142 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -6,11 +6,14 @@ on: tags: - "*" workflow_dispatch: + workflow_run: + workflows: [go-build-test] + types: [completed] jobs: - release: + build-push: runs-on: ubuntu-latest - needs: go-build-test + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/build_test_ci.yml b/.github/workflows/build_test_ci.yml index 5270c75b9..77f1dd997 100644 --- a/.github/workflows/build_test_ci.yml +++ b/.github/workflows/build_test_ci.yml @@ -13,6 +13,7 @@ on: paths-ignore: - '**/**.md' - 'docs/**' + workflow_dispatch: permissions: contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7cea4260..313a1f9dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,6 @@ on: jobs: release: runs-on: ubuntu-latest - needs: go-build-test steps: - uses: actions/checkout@v4 with: