Skip to content

Commit ddb1229

Browse files
authored
Enable required check status for pr validation (#13)
1 parent 22c6797 commit ddb1229

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.asf.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ github:
4343
rebase: false
4444
protected_branches:
4545
main:
46-
# required_status_checks:
46+
required_status_checks:
4747
# # strict means "Require branches to be up to date before merging".
48-
# strict: false
48+
strict: false
4949
# # Contexts are the names of checks that must pass.
5050
# # See ./github/workflows/README.md for more documentation on this list.
51-
# contexts:
52-
# - Pulsar CI checks completed
51+
contexts:
52+
- Check Completion
5353

5454
required_pull_request_reviews:
5555
dismiss_stale_reviews: false

.github/workflows/ci-pr-validation.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,12 @@ jobs:
154154

155155
- name: Build and test Mac wheels
156156
run: pkg/mac/build-mac-wheels.sh ${{matrix.py.version}}
157+
158+
# Job that will be required to complete and depends on all the other jobs
159+
check-completion:
160+
name: Check Completion
161+
runs-on: ubuntu-latest
162+
needs: [unit-tests, linux-wheel, mac-wheels]
163+
164+
steps:
165+
- run: true

0 commit comments

Comments
 (0)