Commit Graph
170 Commits
Author SHA1 Message Date
Beth Brennan ab39152e93 Include workflow call inputs 2022-12-13 15:25:20 -05:00
Beth Brennan c7ad54d9c3 Inputs and cron in github.event context 2022-12-13 15:24:54 -05:00
Josh Gross de7e919d88 Fix validation config in tests 2022-12-13 15:14:57 -05:00
Josh Gross caff5ce7b6 Validate action inputs 2022-12-13 14:58:14 -05:00
Beth Brennan 86fa3f9a45 Merge pull request #53 from github/elbrenn/github-context
Add basic github context provider
2022-12-12 19:36:35 -05:00
Beth Brennan db22088ab2 Add basic github context provider 2022-12-12 19:06:08 -05:00
Jacob Wallraff d48adfa651 Add tests and use null context 2022-12-12 15:10:28 -08:00
Jacob Wallraff 8c74ec1c05 Add job context provider 2022-12-12 13:48:31 -08:00
Christopher Schleiden 681236bbca Correctly report errors in multi-line expression strings 2022-12-12 10:43:39 -08:00
Josh Gross cca0f94d33 Merge branch 'main' into joshmgross/for-of 2022-12-09 18:00:11 -05:00
Christopher Schleiden 86dd16bd12 Add some more validation tests 2022-12-09 08:39:45 -08:00
Christopher Schleiden efe71dd684 Auto completion for multi-line expressions 2022-12-09 08:38:50 -08:00
Josh Gross cb0bee35fe Replace allowPartialContext with a mode enum 2022-12-09 10:40:19 -05:00
Josh Gross 44239714e6 Replace for loops with for...of 2022-12-08 15:22:34 -05:00
Josh Gross eeb39de9d5 Support partial matrix context completion 2022-12-08 14:34:11 -05:00
Josh Gross 2f88970fce Skip external context provider when value is null 2022-12-08 14:05:04 -05:00
Josh Gross ca73d75a3d Merge branch 'main' into joshmgross/matrix-context-validation 2022-12-08 14:03:40 -05:00
Josh Gross 1d93b25b91 Add tests for validating matrix context 2022-12-08 13:55:58 -05:00
Josh Gross f2c04b7b89 Ensure context is inherited in validation 2022-12-08 13:55:46 -05:00
Josh Gross 7e5c8d20ae Skip context validation when matrices have expressions 2022-12-08 13:55:19 -05:00
Christopher Schleiden cbecf86d2e Merge pull request #43 from github/cschleiden/github_token
Always include GITHUB_TOKEN in the secrets
2022-12-08 10:21:29 -08:00
Christopher Schleiden 71c3fcbb47 Improve error handling 2022-12-08 10:17:29 -08:00
Josh GrossandChristopher Schleiden b6fc90171c Fix "properties" typo
Co-authored-by: Christopher Schleiden <[email protected]>
2022-12-08 10:23:52 -05:00
Christopher Schleiden 0b2c8c5e46 Always include GITHUB_TOKEN in the secrets 2022-12-07 18:10:27 -08:00
Josh Gross f518fd2ad6 Support matrix context auto-completion 2022-12-07 19:08:44 -05:00
Josh Gross 089c5b3c49 Filter strategy context to matrix jobs and add values 2022-12-07 13:26:34 -05:00
Josh Gross bcc4d0a3dd Merge pull request #39 from github/joshmgross/strategy-context
Support `strategy` context
2022-12-07 11:00:40 -05:00
Josh Gross 67bab247f7 Merge pull request #38 from github/joshmgross/generated-ids-test
Update generated IDs completion test
2022-12-07 11:00:10 -05:00
Beth Brennan 0867f0164a Merge pull request #40 from github/elbrenn/range
Add range to CompletionItems
2022-12-07 10:55:35 -05:00
Beth Brennan 424bc471ce Use mapRange 2022-12-07 10:51:44 -05:00
Beth Brennan 3eb3855cb1 Remove comment 2022-12-07 10:44:20 -05:00
Beth Brennan bdcb592f90 Add range to CompletionItems 2022-12-07 09:53:26 -05:00
Josh Gross d96630c276 Support strategy context 2022-12-06 18:02:54 -05:00
Josh Gross ea8d6c8cfd Update generated IDs completion test 2022-12-06 17:46:09 -05:00
Josh Gross 1e0af9a982 Fix allowed value provider test 2022-12-06 13:05:41 -05:00
Josh Gross 4960004373 Update references to Job needs 2022-12-06 11:33:04 -05:00
Christopher Schleiden 68eda5159d Merge branch 'main' into joshmgross/validate-inputs-defined 2022-12-05 15:20:13 -08:00
Josh Gross 009f4e83bf Support steps context completion and validation 2022-12-05 16:50:39 -05:00
Josh Gross 99fceee23b Ensure inputs is defined 2022-12-05 15:23:28 -05:00
Christopher SchleidenandJosh Gross b0f6edca59 Fix log message
Co-authored-by: Josh Gross <[email protected]>
2022-12-05 12:08:05 -08:00
Christopher Schleiden c1a8ba0ca7 Add log level and log via connection 2022-12-05 10:05:41 -08:00
Beth Brennan e5a0bae3d0 Add descriptions to completion item detail 2022-12-02 17:32:42 -05:00
Christopher Schleiden 2fc77e72bf Merge pull request #31 from github/cschleiden/sequence-auto-completion
Support auto-completion in sequences
2022-12-02 14:19:56 -08:00
Christopher Schleiden c62ce55551 Support auto-completion in sequences 2022-12-02 14:08:01 -08:00
Christopher Schleiden c3ed8d3408 Remove obsolete comments 2022-12-02 13:58:17 -08:00
Christopher Schleiden 67195e9736 Merge branch 'main' into cschleiden/validate-if-expressions 2022-12-02 13:53:22 -08:00
Beth Brennan f8806e62b6 Merge pull request #30 from github/elbrenn/key
Use new definition location
2022-12-02 16:50:54 -05:00
Beth Brennan 2a106063b7 Improve test names 2022-12-02 15:23:15 -05:00
Beth Brennan cd0c836769 Fix validation with moved definition 2022-12-02 14:31:38 -05:00
Beth Brennan 272e29a775 Remove sequence definition support, fix test 2022-12-02 14:29:59 -05:00