Skip to content

Commit f456fbd

Browse files
committed
add main build passing check in release build workflow
1 parent 2388f5f commit f456fbd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release_build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,20 @@ permissions:
2121
contents: write
2222

2323
jobs:
24+
wait-for-main-build:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Wait for main-build workflow to succeed
28+
uses: lewagon/[email protected]
29+
with:
30+
ref: ${{ github.ref }}
31+
check-name: 'Python Instrumentation Main Build'
32+
repo-token: ${{ secrets.GITHUB_TOKEN }}
33+
wait-interval: 30
34+
allowed-conclusions: success
35+
2436
build:
37+
needs: wait-for-main-build
2538
environment: Release
2639
runs-on: ubuntu-latest
2740
steps:

0 commit comments

Comments
 (0)