Skip to content

Commit f465ef6

Browse files
committed
Revert "Invert condition for testing purposes"
This reverts commit 587cd34.
1 parent 587cd34 commit f465ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/preview-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- run: |
6767
case "${GITHUB_EVENT_NAME}" in
6868
"pull_request" | "pull_request_target")
69-
if [[ "${AUTHOR_ASSOCIATION}" != "MEMBER" ]]; then
69+
if [[ "${AUTHOR_ASSOCIATION}" == "MEMBER" ]]; then
7070
exit 0;
7171
else
7272
echo "::error::You must be a member of the elastic organization to trigger a preview build. Please ask a member of the elastic organization to review your PR and re-trigger the build.";

0 commit comments

Comments
 (0)