Skip to content

Commit fd1ed19

Browse files
authored
Use javascript not shell
* Revert "Fail workflow when pr includes unallowed contributions (#17333)" This reverts commit 871d886. * actually use javascript * remove space * lint
1 parent edff6fe commit fd1ed19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ jobs:
104104
body: reviewMessage,
105105
event: 'REQUEST_CHANGES'
106106
})
107-
exit 1 # prevents further steps from running and fails workflow
107+
108+
core.setFailed("It looks like you've modified some files we don't accept contributions for. Please see the review with requested changes for details.")
108109
# When the most recent review was CHANGES_REQUESTED and the existing
109110
# PR no longer contains unallowed changes, dismiss the previous review
110111
- name: Dismiss pull request review

0 commit comments

Comments
 (0)