From 8fe2e8e131e075f2c7f792360f2e91ede8443dfc Mon Sep 17 00:00:00 2001 From: Martin Lowe <martin.lowe@eclipse-foundation.org> Date: Fri, 26 May 2023 15:01:42 -0400 Subject: [PATCH] Swap error and failure GH commit status messages When first committed, the error and failure messages were swapped, meaning the error message when commits can't be produced were associated with ECA status failures (which is a legitimate state). --- .../git/eca/namespace/GithubCommitStatuses.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/eclipsefoundation/git/eca/namespace/GithubCommitStatuses.java b/src/main/java/org/eclipsefoundation/git/eca/namespace/GithubCommitStatuses.java index 2017fca8..a54100a8 100644 --- a/src/main/java/org/eclipsefoundation/git/eca/namespace/GithubCommitStatuses.java +++ b/src/main/java/org/eclipsefoundation/git/eca/namespace/GithubCommitStatuses.java @@ -21,8 +21,8 @@ package org.eclipsefoundation.git.eca.namespace; public enum GithubCommitStatuses { SUCCESS("The author(s) of the pull request is covered by necessary legal agreements in order to proceed!"), - FAILURE("An unexpected error has occurred. Please contact webmaster@eclipse.org."), - ERROR("The author(s) of the pull request is not covered by necessary legal agreements in order to proceed."), + FAILURE("The author(s) of the pull request is not covered by necessary legal agreements in order to proceed."), + ERROR("An unexpected error has occurred. Please contact webmaster@eclipse.org."), PENDING("Eclipse Foundation Contributor Agreement validation is in progress."); private String message; -- GitLab