From 3b7b2f2678d6269765eb384d324553d31c9d335b Mon Sep 17 00:00:00 2001 From: Neal Date: Thu, 7 May 2020 08:57:59 -0500 Subject: [PATCH] enhancement(secrets): add comment event (#157) * enhancement(secrets): add comment event * fix: elm format whitespace * fix: spell out deployment Co-authored-by: David May <1301201+wass3r@users.noreply.github.com> --- src/elm/Pages/Secrets/Form.elm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/elm/Pages/Secrets/Form.elm b/src/elm/Pages/Secrets/Form.elm index 5b335ed9d..71b834b50 100644 --- a/src/elm/Pages/Secrets/Form.elm +++ b/src/elm/Pages/Secrets/Form.elm @@ -171,16 +171,21 @@ viewEventsSelect secretUpdate = (eventEnabled "pull_request" secretUpdate.events) <| OnChangeEvent "pull_request" - , checkbox "Deploy" - "deployment" - (eventEnabled "deployment" secretUpdate.events) - <| - OnChangeEvent "deployment" , checkbox "Tag" "tag" (eventEnabled "tag" secretUpdate.events) <| OnChangeEvent "tag" + , checkbox "Comment" + "comment" + (eventEnabled "comment" secretUpdate.events) + <| + OnChangeEvent "comment" + , checkbox "Deployment" + "deployment" + (eventEnabled "deployment" secretUpdate.events) + <| + OnChangeEvent "deployment" ] ]