Skip to content

Commit 871d886

Browse files
authored
Fail workflow when pr includes unallowed contributions (#17333)
1 parent c37e810 commit 871d886

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/triage-unallowed-contributions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
body: reviewMessage,
105105
event: 'REQUEST_CHANGES'
106106
})
107+
exit 1 # prevents further steps from running and fails workflow
107108
# When the most recent review was CHANGES_REQUESTED and the existing
108109
# PR no longer contains unallowed changes, dismiss the previous review
109110
- name: Dismiss pull request review

0 commit comments

Comments
 (0)