Commit Graph

67 Commits

Author SHA1 Message Date
Josh Gross b9ab261b1b Merge pull request #146 from github/joshmgross/error-policy-option
Move `ErrorPolicy` into template converter options
2023-02-15 16:10:01 -05:00
Beth Brennan d5d68f3936 Serialize NullToken as null 2023-02-15 15:26:27 -05:00
Beth Brennan 9e1bb89fa3 Validate secrets passed in to reusable workflow job 2023-02-15 14:48:26 -05:00
Josh Gross 0d647c1765 Move ErrorPolicy into template converter options 2023-02-14 16:41:34 -05:00
Josh Gross e25500b8e4 Ensure existing context errors don't prevent parsing workflows 2023-02-09 18:50:05 -05:00
Josh Gross e8060b6e15 Remove unused template evaluation code 2023-02-08 17:37:45 -05:00
Christopher Schleiden ad817bedd1 Correctly skip unexpected mappings 2023-02-08 11:37:39 -08:00
Beth Brennan 325a4bb44e Merge pull request #135 from github/elbrenn/expression-complete
Complete multi-segment expressions
2023-02-07 20:50:31 -05:00
Christopher Schleiden f7b8a566ce Force reusable job needs to be empty array 2023-02-07 15:12:16 -08:00
Christopher Schleiden cd38b2fe76 Support needs for reusable jobs 2023-02-07 14:52:12 -08:00
Beth Brennan 99612e73ab Merge clean up 2023-02-07 17:45:34 -05:00
Beth Brennan 928e7e3b11 Merge branch 'main' into elbrenn/expression-complete 2023-02-07 17:23:37 -05:00
Beth Brennan b432867548 Complete multi-segment expressions 2023-02-07 17:04:47 -05:00
Josh Gross 2598e318c9 Validate workflow references and inputs 2023-02-07 13:42:41 -05:00
Josh Gross 813c66c3c1 Validate inputs when none are defined 2023-02-07 12:10:21 -05:00
Josh Gross 1e4b7f6015 Validate inputs when none are defined 2023-02-07 11:21:06 -05:00
Josh Gross 547cf0659c Merge branch 'main' into joshmgross/reusable-inputs-outputs 2023-02-06 17:32:54 -05:00
Josh Gross 3d157a3cdf Merge pull request #127 from github/joshmgross/file-references
Add a type to represent local and remote files
2023-02-06 17:32:15 -05:00
Josh Gross ce19439ed8 Remove unnecessary extra event conversion 2023-02-06 17:11:46 -05:00
Josh Gross 9b0c8a971e Support reusable workflow inputs and outputs 2023-02-06 17:06:42 -05:00
Josh Gross f28384e7ea Add a type to represent local and remote files 2023-02-06 15:39:44 -05:00
Josh Gross 13aaa381c8 Parse reusable workflows up to a depth of 1 2023-02-06 15:10:34 -05:00
Josh Gross b9a01ed5aa Remove undefined return type from getFileContent 2023-02-06 12:19:52 -05:00
Josh Gross f4dde16b61 Add a FileProvider to parseWorkflow 2023-02-06 11:15:15 -05:00
Josh Gross 3d5b006138 Fix reusable workflow job type 2023-02-03 17:39:49 -05:00
Josh Gross 630a9d124e Use WorkflowJob in type guards 2023-02-03 17:28:48 -05:00
Josh Gross 04475e413f Explicitly define type in each job 2023-02-03 17:27:15 -05:00
Josh Gross fe16d1a1ed Add initial support for converting reusable wf jobs 2023-02-03 16:57:28 -05:00
Christopher Schleiden 2ac9ed5f33 Merge pull request #121 from github/cschleiden/expression-hover
Add support for `hover`ing on expressions
2023-02-02 15:20:14 -08:00
Christopher Schleiden c287b80557 Add expression range to BasicExpressionToken 2023-02-02 08:52:23 -08:00
Josh Gross 492e190f83 Update workflow schema 2023-02-02 10:58:28 -05:00
Jacob Wallraff 3f3e3fcb3b Apply formatting changes 2023-01-30 11:29:48 -08:00
Jacob Wallraff fe67c60f16 Merge pull request #111 from github/thyeggman/json-import-assertions
Add json import assertions
2023-01-30 11:02:46 -08:00
Josh Gross 16ad1addf5 Update position tuples in tests 2023-01-27 15:54:51 -05:00
Josh Gross c33fcbc83d Use an object type to represent Position 2023-01-27 15:43:52 -05:00
Jacob Wallraff 981d2d3765 Add json import assertions 2023-01-26 16:02:15 -08:00
Laura Yu 115c1bb41c Support completion for partial expressions (#103)
Adding basic expression auto complete
2023-01-25 13:38:28 -08:00
Jacob Wallraff ccac2556de Remove unused schedule type 2023-01-24 15:00:49 -08:00
Jacob Wallraff 0790776dea Format and remove unused code 2023-01-24 12:46:28 -08:00
Jacob Wallraff 58d92658b6 Address feedback 2023-01-23 17:50:54 -08:00
Jacob Wallraff d3d55ffc08 Remove changes in parser 2023-01-23 16:27:32 -08:00
Jacob Wallraff 6be2bd1cd7 Move hover logic from parser to language service 2023-01-23 16:22:18 -08:00
Jacob Wallraff 86401f1f54 Add tests and small bug fixes 2023-01-23 15:12:16 -08:00
Jacob Wallraff 08273a85d8 Add constants and re-add tests: 2023-01-23 14:18:05 -08:00
Jacob Wallraff 245277c18d Re-add parsing and validation for cron, and use cronstrue for sentences 2023-01-23 14:07:32 -08:00
Christopher Schleiden e6a2e3eb43 Fix a bunch of auto-complete issues 2023-01-19 10:17:43 -08:00
Christopher Schleiden 27b50dfb53 Update tests for updated schema 2023-01-13 12:32:08 -08:00
Christopher Schleiden 5a4b6219ff Update schema with descriptions 2023-01-13 11:27:20 -08:00
Jacob Wallraff 404b429488 Add more tests 2023-01-10 13:16:44 -08:00
Jacob Wallraff e6a7271ba5 Add test reasons 2023-01-10 13:08:29 -08:00