Commit Graph

16 Commits

Author SHA1 Message Date
eric sciple 03d68e89c6 Refactor if-condition to use schema-driven validation and AST-based status function detection (#218)
- Read allowed context from schema definition instead of hardcoded constants
- Parse expressions into AST to accurately detect status functions (avoids false positives from string literals)
- Export ensureStatusFunction helper that combines checking and wrapping logic
- Remove step-if.yml from skipped tests (now passes with accurate detection)
- Add tests for if-condition wrapping in hover/completion position mapping
2025-11-25 08:56:34 -06:00
eric sciple bad1fb96af Remove isExpression flag and implement convertToIfCondition to align with Go parser architecture (#217) 2025-11-24 09:12:26 -06:00
Christopher Schleiden cf4dce7f71 Improve expression validation for short-circuiting expressions 2023-04-05 13:54:08 -07:00
Beth Brennan 50f9c04a91 Wrap fetchActionsMetadata in provider checking sessionToken 2023-03-27 14:00:58 -04:00
Christopher Schleiden b82ddcdb42 Update import paths
String replacement from `@github/actions-` to `@actions/`
2023-03-23 09:57:18 -07:00
Josh Gross 9ef34c7e41 Lint the language service package 2023-03-20 13:33:58 -04:00
Josh Gross 8942a05502 Handle undefined templates in workflow template cache 2023-03-17 13:23:43 -04:00
Josh Gross 26f5eeede9 Lint the language service package 2023-03-15 16:52:56 -04:00
Josh Gross e557ccc567 Support case-insensitive value providers 2023-03-08 15:52:33 -05:00
Jacob Wallraff b272ab29be Combine methods 2023-03-06 15:16:26 -08:00
Jacob Wallraff 6aaeefb9c2 Remove unused code and address feedback 2023-03-06 11:33:28 -08:00
Jacob Wallraff 2fc36cc6a1 Fix imports and format 2023-03-03 12:49:25 -08:00
Jacob Wallraff 5a199d4c52 Rename methods 2023-03-03 12:39:40 -08:00
Jacob Wallraff ffcd06c8c5 Move caching to language service 2023-03-03 12:28:29 -08:00
Jacob Wallraff f2f377c21c Simple caching for parsed workflow and template 2023-03-02 16:43:23 -08:00
Christopher Schleiden 2a3d63551f Rename folders 2023-02-22 15:52:40 -08:00