From 2325e403742fdb54979443e90f0522962157aca5 Mon Sep 17 00:00:00 2001 From: Eric Zhang Date: Fri, 1 Aug 2025 13:03:16 -0700 Subject: [PATCH] add main build passing check in release build workflow --- .github/workflows/main-build.yml | 1 + .github/workflows/release-build.yml | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index a268380681..33e6902dce 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -256,6 +256,7 @@ jobs: aws s3 cp ./build/distributions/aws-opentelemetry-java-layer.zip s3://adot-main-build-staging-jar/adot-java-lambda-layer-${{ github.run_id }}.zip application-signals-e2e-test: + name: "Application Signals E2E Test" needs: [build] uses: ./.github/workflows/application-signals-e2e-test.yml secrets: inherit diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index ce9d29ddc8..ca3536481d 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -20,7 +20,20 @@ permissions: contents: write jobs: + wait-for-main-build: + runs-on: ubuntu-latest + steps: + - name: Wait for E2E test to succeed + uses: ezhang6811/wait-on-check-action@6275ea93847ce5952ab8ceeac8fb1111820cf44d + with: + ref: ${{ github.ref }} + check-name: 'Application Signals E2E Test' + repo-token: ${{ secrets.GITHUB_TOKEN }} + wait-interval: 30 + allowed-conclusions: success + build: + needs: wait-for-main-build environment: Release runs-on: ubuntu-latest steps: