Commit Graph
34 Commits
Author SHA1 Message Date
Josh Gross 0d647c1765 Move ErrorPolicy into template converter options 2023-02-14 16:41:34 -05:00
Josh Gross 63fdcf143f Support completing reusable job inputs 2023-02-07 19:13:41 -05:00
Josh Gross 2598e318c9 Validate workflow references and inputs 2023-02-07 13:42:41 -05:00
Christopher Schleiden 9949c06c55 Remove old TODO 2023-02-06 16:46:10 -08:00
Josh Gross 13aaa381c8 Parse reusable workflows up to a depth of 1 2023-02-06 15:10:34 -05:00
Josh Gross f4dde16b61 Add a FileProvider to parseWorkflow 2023-02-06 11:15:15 -05:00
Chris SidiandGitHub 4b0bfa879e Merge pull request #107 from github/hashtagchris-runs-on
Remove warnings for the `SuggestedValues` provider (i.e. `runs-on`)
2023-01-31 12:42:57 -05:00
Josh Gross c33fcbc83d Use an object type to represent Position 2023-01-27 15:43:52 -05:00
Chris Sidi b2f9502197 Remove warnings for the SuggestedValues provider (i.e. runs-on) 2023-01-23 23:11:29 -05:00
Christopher Schleiden e6a2e3eb43 Fix a bunch of auto-complete issues 2023-01-19 10:17:43 -08:00
Christopher Schleiden f840cd2599 Validate expressions even when calling fromJson 2023-01-18 14:50:51 -08:00
Josh Gross 2d7a05c049 Use the allowed context from the definition info 2022-12-14 11:18:38 -05:00
Josh Gross caff5ce7b6 Validate action inputs 2022-12-13 14:58:14 -05:00
Christopher Schleiden 681236bbca Correctly report errors in multi-line expression strings 2022-12-12 10:43:39 -08:00
Josh Gross cb0bee35fe Replace allowPartialContext with a mode enum 2022-12-09 10:40:19 -05:00
Josh Gross ca73d75a3d Merge branch 'main' into joshmgross/matrix-context-validation 2022-12-08 14:03:40 -05:00
Josh Gross f2c04b7b89 Ensure context is inherited in validation 2022-12-08 13:55:46 -05:00
Christopher Schleiden 71c3fcbb47 Improve error handling 2022-12-08 10:17:29 -08:00
Beth Brennan 424bc471ce Use mapRange 2022-12-07 10:51:44 -05:00
Beth Brennan cd0c836769 Fix validation with moved definition 2022-12-02 14:31:38 -05:00
Josh Gross 06ab9c4294 Use correct token position for validation 2022-12-01 15:10:18 -05:00
Christopher Schleiden e630928f55 Best effort conversion when validating 2022-11-30 11:59:44 -08:00
Josh Gross 643917ae9d Add a needs context provider for auto-completion 2022-11-30 11:21:32 -05:00
Josh Gross 72c7fbd032 Add a context provider for secrets 2022-11-29 16:56:20 -05:00
Christopher Schleiden bd315ebf56 Use map for custom values checks 2022-11-29 08:04:27 -08:00
Christopher SchleidenandGitHub 26ebb2ec63 Add missing break statement 2022-11-29 07:56:07 -08:00
Christopher Schleiden aa0103ba56 Use different error messages for allowed vs suggested validation errors 2022-11-28 16:23:25 -08:00
Christopher Schleiden a9cdcdba80 Support allowed/suggested value providers 2022-11-28 16:15:57 -08:00
Christopher Schleiden a495432d40 Merge validation code into a single traversal 2022-11-28 16:04:53 -08:00
Christopher Schleiden a32295a09a Use value providers for validation 2022-11-28 15:53:02 -08:00
Christopher Schleiden b2e4af090e Update import path 2022-11-22 10:36:17 -08:00
Christopher Schleiden bf7e440692 Expression validation 2022-11-21 17:55:47 -08:00
Josh Gross 3a816b2a74 Run prettier on language service 2022-11-15 14:08:12 -05:00
Christopher Schleiden 2e1652515e Initial code import 2022-11-08 17:00:59 -08:00