Commit Graph
231 Commits
Author SHA1 Message Date
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 986ce1bfe4 Separate reusable jobs in the workflow context 2023-02-03 17:52:48 -05:00
Josh Gross fe16d1a1ed Add initial support for converting reusable wf jobs 2023-02-03 16:57:28 -05:00
Christopher Schleiden a9f469632c Even with the default context provider config can we show expression hover 2023-02-02 15:48:03 -08: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 1faf6572b7 Rename helper 2023-02-02 13:14:02 -08:00
Christopher Schleiden 903c813ad1 Adjust variable naming 2023-02-02 13:02:34 -08:00
Christopher Schleiden b5fba1360e Add more descriptions for static contexts 2023-02-02 10:29:04 -08:00
Christopher Schleiden 03d11f9c2c Use similar definition info to validation for hover 2023-02-02 10:20:23 -08:00
Christopher Schleiden cb71496867 Integrate expression hover 2023-02-02 08:57:26 -08:00
Christopher Schleiden f5463c18b5 React to extracted functions, add test 2023-02-02 08:57:16 -08:00
Christopher Schleiden 60757d5de8 Logic for determining expression hover 2023-02-02 08:57:02 -08:00
Christopher Schleiden 634f7ecbd4 Extract helper functions 2023-02-02 08:53:01 -08:00
Christopher Schleiden c9c1d9e537 React to parser changes 2023-02-02 08:52:37 -08:00
Josh Gross f57e43c906 Merge pull request #118 from github/joshmgross/validate-action
Validate that an action exists
2023-02-01 17:04:42 -05:00
Josh Gross 3f05308f3b Fix invalid action references in tests 2023-02-01 16:43:39 -05:00
Josh Gross 3f30704e17 Split input validation tests 2023-02-01 11:01:22 -05:00
Josh Gross 7265d1a11c Merge branch 'main' into joshmgross/workflow_call-validation 2023-02-01 10:44:24 -05:00
Josh Gross b79019bd6a Validate that an action exists 2023-01-31 13:21:36 -05:00
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
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
Jacob Wallraff 389831bc3c Run format 2023-01-30 10:57:40 -08: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
Josh Gross 64bcc2f287 Skip event context validation for workflow_call 2023-01-25 15:24:57 -05:00
Jacob Wallraff 39b5f7bf65 Merge pull request #100 from github/thyeggman/cronstrue-hover
Produce hover sentence for cron expressions
2023-01-24 15:05:53 -08:00
Jacob Wallraff f3a570d10d Revert "Use parent token (revertable)"
This reverts commit d5831b2e89.
2023-01-24 13:16:19 -08:00
Jacob Wallraff 0cf34d914d Merge branch 'main' into thyeggman/token-completion-range 2023-01-24 13:15:52 -08:00
Jacob Wallraff f2138b7eed Merge branch 'main' into thyeggman/cronstrue-hover 2023-01-24 11:17:08 -08:00
Jacob Wallraff e6de0d11b8 Address feedback 2023-01-24 11:14:35 -08:00
Chris Sidi b2f9502197 Remove warnings for the SuggestedValues provider (i.e. runs-on) 2023-01-23 23:11:29 -05:00
Jacob Wallraff 58d92658b6 Address feedback 2023-01-23 17:50:54 -08:00
Jacob Wallraff af5c15a422 Small fix 2023-01-23 17:22:47 -08:00
Jacob Wallraff 7560a1ee51 Merge branch 'main' into thyeggman/cronstrue-hover 2023-01-23 17:16:28 -08:00
Jacob Wallraff 615ba46960 Fix hover over 'cron:' token 2023-01-23 16:53:29 -08:00
Jacob Wallraff e8c5a21743 Run format 2023-01-23 16:25:30 -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
Josh Gross d8d4a3f46a Ensure inherited context is shown on hover 2023-01-23 16:20:59 -05:00
Josh Gross 48c728771e Show action input descriptions on hover 2023-01-23 16:02:13 -05:00
Josh Gross e8bf17771c Allow {} to represent any value in event payloads 2023-01-23 11:35:09 -05:00
Josh Gross 378d2ab799 Support client_payload for repository_dispatch events 2023-01-20 18:38:56 -05:00
Christopher Schleiden c6f490c62d Improve auto-completion for if: properties 2023-01-19 17:20:37 -08:00
Christopher Schleiden e6a2e3eb43 Fix a bunch of auto-complete issues 2023-01-19 10:17:43 -08:00
Christopher Schleiden e01af9616b Add test case for validation in expression 2023-01-19 10:02:13 -08:00
Christopher Schleiden f840cd2599 Validate expressions even when calling fromJson 2023-01-18 14:50:51 -08:00
Josh Gross 39688a1135 Use example from docs 2023-01-18 16:14:30 -05:00
Josh Gross fad4e45373 Add merge group event payload 2023-01-18 16:01:13 -05:00