Commit Graph
96 Commits
Author SHA1 Message Date
Josh GrossandGitHub 695221622e Merge pull request #79 from github/joshmgross/format
Use a standard format configuration across packages
2023-01-09 19:11:58 -05:00
Josh Gross c49981ec64 npm run format -ws 2023-01-09 19:02:19 -05:00
Josh Gross 3df70b2491 Use a standard format configuration across packages 2023-01-09 19:01:50 -05:00
Josh GrossandGitHub a0daaa3058 Merge pull request #64 from github/joshmgross/action-outputs-provider
Add a context provider for action outputs
2022-12-20 17:41:20 -05:00
Josh Gross 06f1f7003c Add tests for steps context provider 2022-12-20 17:35:18 -05:00
Josh Gross b7ab8e4a30 Add workflow context test util 2022-12-20 17:34:03 -05:00
Josh Gross 7a9d8738c5 Add a context provider for action outputs 2022-12-20 12:58:09 -05:00
Josh GrossandGitHub 51a22aa403 Merge pull request #63 from github/joshmgross/bump-parser
Update parser version
2022-12-19 15:32:52 -05:00
Josh Gross cdf5b5e04e Fix invalid YAML in test 2022-12-19 15:29:35 -05:00
Josh Gross c7e276cb6f Update parser version 2022-12-19 15:21:27 -05:00
Josh GrossandGitHub 7f14d94d85 Merge pull request #61 from github/joshmgross/disable-word-suggestions
Disable word based suggestions in playground
2022-12-19 09:58:24 -05:00
Josh Gross 60b87f4fa6 Disable word based suggestions in playground 2022-12-16 18:16:09 -05:00
Josh GrossandGitHub 7954f29f0c Merge pull request #59 from github/joshmgross/improve-expression-completion
Improve auto-completion for expression functions
2022-12-15 10:59:00 -05:00
Josh Gross 9130ef0c65 Avoid inserting unnecessary parentheses after functions 2022-12-15 10:48:28 -05:00
Josh Gross b493fa3bdb Merge branch 'main' into joshmgross/improve-expression-completion 2022-12-15 10:34:13 -05:00
Josh Gross b3c97c4c0f Bump expressions package version 2022-12-15 10:33:57 -05:00
Josh GrossandGitHub f6ce03e021 Merge pull request #57 from github/joshmgross/use-def-allowed-context
Use the allowed context from the definition info
2022-12-15 10:31:34 -05:00
Josh Gross eafbcde86a Improve auto-completion for expression functions 2022-12-14 16:10:31 -05:00
Josh GrossandGitHub b522de9a5a Merge pull request #58 from github/joshmgross/deprecated-values
Show deprecation status when suggesting action inputs
2022-12-14 14:56:00 -05:00
Josh Gross 6a19aa0a5e Bump parser version 2022-12-14 14:55:19 -05:00
Josh Gross 447bbfc032 Show deprecation status when suggesting action inputs 2022-12-14 13:07:26 -05:00
Josh Gross 2d7a05c049 Use the allowed context from the definition info 2022-12-14 11:18:38 -05:00
Josh GrossandGitHub 40f84a8d8a Merge pull request #54 from github/joshmgross/validate-action-inputs
Validate action inputs
2022-12-13 17:24:45 -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
Josh GrossandGitHub 3dba410d3f Merge pull request #52 from github/joshmgross/action-inputs-provider
Add a value provider for action inputs
2022-12-12 19:46:10 -05:00
Josh Gross 247d507581 Merge branch 'main' into joshmgross/action-inputs-provider 2022-12-12 19:43:10 -05:00
Josh Gross 4ee3a88c11 Remove separate parser version 2022-12-12 19:35:19 -05:00
Josh Gross d392681394 Use * for parser package version 2022-12-12 19:23:33 -05:00
Josh Gross 037cf7eb3f Update package-lock 2022-12-12 19:03:35 -05:00
Josh Gross d5ef6aefff Add a value provider for action inputs 2022-12-12 18:31:34 -05:00
Josh GrossandGitHub de23c0cf9d Merge pull request #47 from github/joshmgross/for-of
Replace `for` loops with `for...of`
2022-12-09 18:03:05 -05:00
Josh GrossandGitHub cca0f94d33 Merge branch 'main' into joshmgross/for-of 2022-12-09 18:00:11 -05:00
Josh GrossandGitHub aa93d5c577 Merge pull request #46 from github/joshmgross/partial-matrix-completion
Support partial matrix context completion
2022-12-09 10:45:25 -05:00
Josh Gross cb0bee35fe Replace allowPartialContext with a mode enum 2022-12-09 10:40:19 -05:00
Josh GrossandGitHub 8209c8bce4 Merge pull request #45 from github/joshmgross/matrix-context-validation
Improve validation for `matrix` context
2022-12-09 09:49:39 -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
Josh GrossandGitHub de0a182833 Merge pull request #42 from github/joshmgross/matrix-context-completion
Support `matrix` context auto-completion
2022-12-08 10:27:42 -05:00
b6fc90171c Fix "properties" typo
Co-authored-by: Christopher Schleiden <[email protected]>
2022-12-08 10:23:52 -05:00
Josh GrossandGitHub d42a6ea15d Merge pull request #41 from github/joshmgross/strategy-context-pt2
Filter `strategy` context to matrix jobs and add values
2022-12-07 19:18:06 -05: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 GrossandGitHub bcc4d0a3dd Merge pull request #39 from github/joshmgross/strategy-context
Support `strategy` context
2022-12-07 11:00:40 -05:00
Josh GrossandGitHub 67bab247f7 Merge pull request #38 from github/joshmgross/generated-ids-test
Update generated IDs completion test
2022-12-07 11:00:10 -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 GrossandGitHub 113ab8edc7 Merge pull request #37 from github/joshmgross/update-job-type
Update references to Job `needs`
2022-12-06 13:09:18 -05:00
Josh Gross 1e0af9a982 Fix allowed value provider test 2022-12-06 13:05:41 -05:00
Josh Gross 94c358933c Update package version 2022-12-06 12:58:45 -05:00
Josh Gross 4960004373 Update references to Job needs 2022-12-06 11:33:04 -05:00
Josh GrossandGitHub 78c9f89523 Merge pull request #35 from github/joshmgross/validate-inputs-defined
Ensure `inputs` is defined
2022-12-06 11:08:57 -05:00
Josh GrossandGitHub 1670673e89 Merge pull request #36 from github/joshmgross/steps-context
Support `steps` context completion and validation
2022-12-05 17:39:41 -05: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
Josh GrossandGitHub 760b682696 Merge pull request #27 from github/joshmgross/validation-pos-fix
Use correct token position for validation
2022-12-01 16:30:32 -05:00
Josh GrossandGitHub 2f49a1c9ed Merge pull request #26 from github/joshmgross/needs-context-outputs
Include job outputs in `needs` context completion
2022-12-01 15:27:36 -05:00
Josh Gross f276eeaefd Add the output value display string 2022-12-01 15:19:21 -05:00
Josh Gross 06ab9c4294 Use correct token position for validation 2022-12-01 15:10:18 -05:00
Josh Gross 096e9270f8 Include job outputs in needs context completion 2022-12-01 14:46:48 -05:00
Josh GrossandGitHub c2aa4fa9ec Merge pull request #25 from github/joshmgross/update-job-references
Update references to `Job` and `Step`
2022-12-01 14:45:41 -05:00
Josh Gross 3c07353eed Update workflow parser package version 2022-12-01 14:38:54 -05:00
Josh Gross c6ef2b8bb1 Update workflow parser package version 2022-12-01 12:42:18 -05:00
Josh Gross f4295a4d43 Update references to Job and Step 2022-12-01 11:11:03 -05:00
Josh GrossandGitHub e688618cf4 Merge pull request #23 from github/joshmgross/needs-context-completion
Add a `needs` context provider for auto-completion
2022-11-30 12:59:16 -05:00
Josh Gross 71bde2b801 Validate that job.needs exists 2022-11-30 11:31:55 -05:00
Josh Gross 643917ae9d Add a needs context provider for auto-completion 2022-11-30 11:21:32 -05:00
Josh GrossandGitHub 3a82e5ed4f Merge pull request #21 from github/joshmgross/prettier-again
Run prettier on language server
2022-11-29 17:47:05 -05:00
Josh Gross 9b40ba1887 Run prettier on language server 2022-11-29 17:41:48 -05:00
Josh Gross 3b9c6711eb Add prettier config to language server 2022-11-29 17:41:13 -05:00
Josh GrossandGitHub de3e2c51e1 Merge pull request #20 from github/joshmgross/secret-context-provider
Add a context provider for `secrets`
2022-11-29 17:38:36 -05:00
Josh Gross 72c7fbd032 Add a context provider for secrets 2022-11-29 16:56:20 -05:00
Josh GrossandGitHub e4b185d165 Merge pull request #18 from github/joshmgross/vp-caching
Cache API responses for custom value providers
2022-11-28 18:13:02 -05:00
Josh GrossandGitHub 2919d321c8 Merge branch 'main' into joshmgross/vp-caching 2022-11-28 18:11:45 -05:00
Josh GrossandGitHub dd65927ea4 Merge pull request #17 from github/joshmgross/workspace-doc-mapping
Map workspaces to the correct repository
2022-11-28 18:10:14 -05:00
Josh Gross 4663319c6f Move caching into invidual providers 2022-11-28 18:08:11 -05:00
Josh Gross b3dd82a7ed Cache API responses for custom value providers 2022-11-28 16:35:23 -05:00
Josh Gross 6563b98333 Map workspaces to the correct repository 2022-11-28 15:49:56 -05:00
Josh GrossandGitHub bf5f06a90c Merge pull request #16 from github/joshmgross/validate-loose-mapping-completion
Validate completion in loose mappings
2022-11-28 13:18:38 -05:00
Josh Gross fc6a52f320 Validate completion in loose mappings 2022-11-28 12:52:06 -05:00
Josh Gross df92695981 Add parentKey to tests 2022-11-23 15:34:27 -05:00
Josh Gross 20e99a225c Add more mapping key test cases 2022-11-23 15:23:17 -05:00
Josh Gross 109d9bc1be Add empty string mapping test case 2022-11-23 14:30:36 -05:00
Josh Gross 4774a6a3d1 Merge branch 'main' into cschleiden/find-token-tests 2022-11-23 14:20:44 -05:00
Josh Gross 1b6b742351 Add more sequence tests 2022-11-23 11:35:13 -05:00
Josh GrossandGitHub 84a5d026f0 Merge pull request #13 from github/joshmgross/separate-value-providers
Separate value providers from definition values
2022-11-22 17:26:55 -05:00
Josh Gross b6c40c5976 Separate value providers from definition values 2022-11-22 16:06:39 -05:00
Josh GrossandChristopher Schleiden b4f6e674b7 Simplify same line logic in find token 2022-11-17 11:24:34 -08:00
Josh GrossandChristopher Schleiden 634cac8eb4 Handle completion edge cases with empty mapping nodes 2022-11-17 11:23:39 -08:00
Josh GrossandGitHub 443e14ebe8 Merge pull request #3 from github/joshmgross/prettier
Run prettier on language service
2022-11-15 14:16:37 -05:00
Josh Gross 3a816b2a74 Run prettier on language service 2022-11-15 14:08:12 -05:00