Commit Graph

39 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 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
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
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 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 c287b80557 Add expression range to BasicExpressionToken 2023-02-02 08:52:23 -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 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
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
Jacob Wallraff 78e2e32518 Match one or more whitespace characters 2023-01-10 12:03:56 -08:00
Jacob Wallraff f877c22e9c Remove support for */TUE 2023-01-10 11:54:41 -08:00
Jacob Wallraff 92db0c1af7 Remove duplicate test 2023-01-10 10:32:35 -08:00
Jacob Wallraff f163cceaa3 Merge branch 'main' into thyeggman/cron-parsing 2023-01-10 10:30:29 -08:00
Jacob Wallraff b0da5195d1 More tests and a fix 2023-01-10 10:22:25 -08:00
Jacob Wallraff 5626b7fb85 Add more test cases and fix more validation 2023-01-10 09:57:07 -08:00
Jacob Wallraff 7be6d9619c More test cases 2023-01-09 18:02:30 -08:00
Jacob Wallraff d02fa0bb67 Add tests and correct a lot of validation 2023-01-09 17:51:44 -08:00
Jacob Wallraff 4cd9500523 Port over josh's changes 2023-01-09 16:52:53 -08:00
Josh Gross c49981ec64 npm run format -ws 2023-01-09 19:02:19 -05:00
Christopher Schleiden 70e33f999d Merge parser and expressions into repository 2023-01-06 15:54:31 -08:00