Commit Graph

57 Commits

Author SHA1 Message Date
Chris Sidi 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
Christopher Schleiden 7baf5da7ee Remove package.json version import 2023-01-31 09:13:44 -08:00
Christopher Schleiden b5c5720b48 Extract client creation
Also default to use the language server version in the user agent
2023-01-30 17:05:32 -08:00
Josh Gross d26c2d15ac Add owner type to repository context 2023-01-30 17:57:07 -05:00
Jacob Wallraff 3f3e3fcb3b Apply formatting changes 2023-01-30 11:29:48 -08:00
Chris Sidi f02dc86728 Retrieve every page of repo runner labels 2023-01-25 23:53:00 -05:00
Chris Sidi 1165833508 Retrieve every page of secrets 2023-01-25 23:53:00 -05:00
Chris Sidi d8c7977e92 Simplify variable pagination, leverage latest octokit types 2023-01-25 23:49:30 -05:00
Chris Sidi d6a3086cf0 Document API limitation 2023-01-25 18:24:05 -05:00
Josh Gross 4c23650d9c Merge pull request #102 from github/joshmgross/action-errors
Ensure errors are handled when fetching action metadata
2023-01-25 14:16:25 -05:00
Christopher Schleiden c4878356a2 Add comments to the initalization options 2023-01-24 17:39:24 -08:00
Josh Gross 77fafa9f7c Update docs links 2023-01-24 17:38:14 -05:00
Josh Gross 30935e6c6d Ensure errors are handled when fetching action metadata 2023-01-24 14:53:02 -05:00
Josh Gross 54261296bb Add tests for errors when fetching actions 2023-01-24 13:29:23 -05:00
Josh Gross 416e32e29b Add tests for action input descriptions 2023-01-24 13:09:49 -05:00
Josh Gross e11c62667e Replace nock with fetch-mock 2023-01-24 13:09:36 -05:00
Josh Gross 4f9c9e6e1c Support a 0 step index in test context 2023-01-24 13:04:40 -05:00
Josh Gross 4a9fe401af Include deprecated and required input status 2023-01-23 19:39:28 -05:00
Josh Gross 48c728771e Show action input descriptions on hover 2023-01-23 16:02:13 -05:00
Christopher Schleiden eab53474cb Support webWorker clients 2023-01-20 17:20:21 -08:00
Laura Yu 05de7282bd Add variables context provider (#88) 2023-01-18 16:31:49 -08:00
Christopher Schleiden e3a450dde7 Sort and merge secrets 2023-01-11 13:29:02 -08:00
Christopher Schleiden 28aac582c2 Sort secrets 2023-01-11 11:27:34 -08:00
Christopher Schleiden c5029e7287 Remove double await
Co-authored-by: Josh Gross <joshmgross@github.com>
2023-01-11 09:59:36 -08:00
Christopher Schleiden 43fecc8648 Support descriptions for contexts 2023-01-10 17:44:48 -08:00
Laura Yu c5043f34de Clear cache and re-validate documents on cacheClear command (#71) 2023-01-09 17:11:10 -08:00
Christopher Schleiden ef04aa40f6 Support environment secrets 2023-01-06 14:22:07 -08:00
Christopher Schleiden 263e3b69ec Update insertText for actions with provider 2023-01-05 17:34:04 -08:00
Christopher Schleiden 56e8393e0f Provide links to open actions on GitHub 2022-12-21 13:34:10 +01: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 Gross 447bbfc032 Show deprecation status when suggesting action inputs 2022-12-14 13:07:26 -05:00
Josh Gross caff5ce7b6 Validate action inputs 2022-12-13 14:58:14 -05:00
Josh Gross d5ef6aefff Add a value provider for action inputs 2022-12-12 18:31:34 -05:00
Christopher Schleiden d34fe648d4 Split language server into two modules 2022-12-08 10:22:47 -08:00
Christopher Schleiden 0b2c8c5e46 Always include GITHUB_TOKEN in the secrets 2022-12-07 18:10:27 -08:00
Christopher Schleiden c1a8ba0ca7 Add log level and log via connection 2022-12-05 10:05:41 -08:00
Christopher Schleiden 0d07fa0c8b Auto complete environment mappings 2022-12-02 15:50:08 -08:00
Christopher Schleiden 86a83028c5 Use context provider when validating 2022-11-29 17:17:04 -08:00
Josh Gross 9b40ba1887 Run prettier on language server 2022-11-29 17:41:48 -05:00
Josh Gross 72c7fbd032 Add a context provider for secrets 2022-11-29 16:56:20 -05:00
Christopher Schleiden 4d930dfc4e Update custom value providers 2022-11-28 16:20:36 -08:00
Christopher Schleiden 71619bee95 Use cache when validating with value providers 2022-11-28 16:08:47 -08:00
Christopher Schleiden a32295a09a Use value providers for validation 2022-11-28 15:53:02 -08:00
Christopher Schleiden a217edfbc6 Re-order runs-on value 2022-11-28 15:47:46 -08: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
Christopher Schleiden dfa79ce558 Fix import 2022-11-28 10:15:17 -08:00