eric sciple
03ffd0c44d
Add validation for literal text in if conditions ( #216 )
...
* Validate literal text in if-condition format expressions
* test escaped left brace
2025-11-25 11:28:18 -06:00
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
Lawrence Gripper
01c3723641
fixup completion tests now we have new keywords
2025-09-09 11:09:05 +00:00
Josh Gross
48247b8730
Merge pull request #145 from gillisandrew/bug/import-assertions
...
Remove import assertions
2025-03-05 12:58:01 -05:00
eric sciple
50b08a3a22
Add root-level description keyword
2025-01-28 19:24:42 +00:00
Andrew Gillis
f02e9593c2
Remove import assertions
2024-11-29 09:31:04 -05:00
Beth Brennan
950407cc05
Merge pull request #81 from actions/elbrenn/vscode-uri
...
Change vscode-uri import syntax
2024-07-08 11:48:18 -04:00
Beth Brennan
02075a6585
change vscode-uri import syntax
2024-07-05 13:17:23 -04:00
Yukai Chou
c9afb14da5
Satisfy prettier
2023-09-08 18:14:04 +08:00
Yukai Chou
fe696132cf
Update tests
2023-09-08 18:02:55 +08:00
Yukai Chou
026f4e3ece
quote references
2023-09-08 17:31:46 +08:00
Yukai Chou
098e785c13
Drop version constraints "ghes > 3.5 or ghae > 3.4"
...
See github/docs@19ded728c0
2023-09-08 17:31:22 +08:00
Yukai Chou
b0c2dec02f
other contexts
2023-09-08 17:30:40 +08:00
Yukai Chou
def4fb41a9
Add version constraints
...
see
- https://github.com/github/docs/blame/main/content/actions/learn-github-actions/contexts.md
- https://github.com/github/docs/blob/main/data/features/actions-oidc-custom-claims.yml
2023-09-08 17:30:40 +08:00
Yukai Chou
84335c7203
fixup! Update descriptions for github context
2023-09-08 17:30:40 +08:00
Yukai Chou
7e062aa16b
hashFiles() function
2023-09-08 17:30:40 +08:00
Yukai Chou
b67105b9b4
Update descriptions for github context
2023-09-08 17:30:40 +08:00
Yukai Chou
1b823ebe67
Drop version constraints "ghes > 3.3 or ghae > 3.3"
...
- ghes 3.3 is deprecated in github/docs@ac2cd0e47d
- ghae 3.3 is deprecated in github/docs@fefcf3b5a6
2023-09-08 17:29:55 +08:00
Yukai Chou
818a321069
Fix typo in url
2023-08-31 02:39:28 +08:00
Yukai Chou
c4d2f35a55
Update github context properties
2023-08-31 02:36:50 +08:00
Jonathan Tamsut
afbe42bffe
fix test failures
2023-08-04 12:13:21 -07:00
Christopher Schleiden
a324b8b9dc
small tweaks
2023-08-04 11:32:10 -07:00
Christopher Schleiden
4f7d03ed0c
Correctly indent completion options
2023-08-04 11:19:42 -07:00
Jonathan Tamsut
a1d81c730f
yarn prettier
2023-04-14 10:29:20 -07:00
Jonathan Tamsut
18d1bd9734
fix case bug
2023-04-14 10:22:42 -07:00
Jonathan Tamsut
6df34a78ce
Update languageservice/src/value-providers/definition.ts
...
Co-authored-by: Josh Gross <joshmgross@github.com >
2023-04-14 09:51:27 -07:00
Jonathan Tamsut
11d3fc25ee
run prettier
2023-04-13 15:26:31 -07:00
Jonathan Tamsut
6d0f74e38b
fix typo
2023-04-13 15:21:36 -07:00
Jonathan Tamsut
2ecbeafacb
add tests
2023-04-13 15:21:23 -07:00
Jonathan Tamsut
a4d3fb1a3e
add newline to boolean
2023-04-13 10:05:39 -07:00
Jonathan Tamsut
fc2bacfcdc
add break
2023-04-12 15:37:42 -07:00
Jonathan Tamsut
7d8a7c11a6
handle string and boolean mappings
2023-04-12 15:26:17 -07: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
8e03b387a2
Cache transformed workflows separately
2023-03-21 15:52:25 -04:00
Christopher Schleiden
d1baf65c18
Add failing e2e test
2023-03-21 15:51:11 -04:00
Josh Gross
02f848c60a
Merge branch 'main' into joshmgross/schema-function-descriptions
2023-03-20 18:58:10 -04:00
Josh Gross
98e56cb774
Add descriptions for schema-defined functions
2023-03-20 17:06:25 -04: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
Christopher Schleiden
e27c3eb21a
Merge branch 'main' into cschleiden/events-without-default-types
2023-03-17 09:09:01 -07:00
Christopher Schleiden
699c3a0ab5
Work around module import issues
2023-03-16 17:23:40 -07:00
Christopher Schleiden
eb56401caf
Provide links to navigate to reusable-workflows
2023-03-16 17:09:23 -07:00
Christopher Schleiden
e042ef6f88
Support events without default types
...
Merge all payloads for the events in that case.
2023-03-16 16:28:42 -07:00
Josh Gross
950ebf7388
Fix formatting in hover.test.ts
2023-03-16 13:33:00 -04:00
Josh Gross
a960630b11
Fix references to HoverVisitor
2023-03-16 13:25:58 -04:00
Josh Gross
8312d857b9
Remove unnecessary async functions
2023-03-16 13:24:49 -04:00
Josh Gross
26f5eeede9
Lint the language service package
2023-03-15 16:52:56 -04:00