Commit Graph
100 Commits
Author SHA1 Message Date
Josh GrossandGitHub 5bc87bc498 Merge pull request #133 from github/joshmgross/local-workflow-references
Support local workflow references
2023-02-07 16:11:14 -05:00
Josh GrossandGitHub d487da2740 Merge pull request #132 from github/joshmgross/fetch-remote-workflow-references
Support fetching remote reusable workflows
2023-02-07 16:10:52 -05:00
Josh GrossandGitHub fef236ca82 Merge pull request #131 from github/joshmgross/validate-wf-refs
Validate workflow references and inputs
2023-02-07 16:07:45 -05:00
Josh Gross f9ee7ae11a Support local workflow references 2023-02-07 15:46:50 -05:00
Josh Gross d5a8de7b8f Support fetching remote reusable workflows 2023-02-07 13:48:33 -05:00
Josh Gross 2598e318c9 Validate workflow references and inputs 2023-02-07 13:42:41 -05:00
Josh GrossandGitHub 1c8e8e8701 Merge pull request #130 from github/joshmgross/validate-undefined-inputs
Validate inputs when none are defined
2023-02-07 12:18:47 -05:00
Josh Gross 813c66c3c1 Validate inputs when none are defined 2023-02-07 12:10:21 -05:00
Josh Gross 1e4b7f6015 Validate inputs when none are defined 2023-02-07 11:21:06 -05:00
Josh GrossandGitHub 76a2c8a5ca Merge pull request #128 from github/joshmgross/reusable-inputs-outputs
Support reusable workflow `inputs` and `outputs`
2023-02-07 10:39:59 -05:00
Josh Gross 547cf0659c Merge branch 'main' into joshmgross/reusable-inputs-outputs 2023-02-06 17:32:54 -05:00
Josh GrossandGitHub 3d157a3cdf Merge pull request #127 from github/joshmgross/file-references
Add a type to represent local and remote files
2023-02-06 17:32:15 -05:00
Josh GrossandGitHub 467b630766 Merge pull request #126 from github/joshmgross/parse-reusable-workflow
Parse reusable workflows up to a depth of 1
2023-02-06 17:25:12 -05:00
Josh Gross 8f826c59f8 Fix tests that now require await 2023-02-06 17:20:30 -05:00
Josh Gross ce19439ed8 Remove unnecessary extra event conversion 2023-02-06 17:11:46 -05:00
Josh GrossandGitHub 325a154099 Merge pull request #125 from github/joshmgross/file-provider
Add a `FileProvider` to `parseWorkflow`
2023-02-06 17:10:46 -05:00
Josh Gross 9b0c8a971e Support reusable workflow inputs and outputs 2023-02-06 17:06:42 -05:00
Josh Gross f28384e7ea Add a type to represent local and remote files 2023-02-06 15:39:44 -05:00
Josh Gross 13aaa381c8 Parse reusable workflows up to a depth of 1 2023-02-06 15:10:34 -05:00
Josh Gross b9a01ed5aa Remove undefined return type from getFileContent 2023-02-06 12:19:52 -05:00
Josh Gross f4dde16b61 Add a FileProvider to parseWorkflow 2023-02-06 11:15:15 -05:00
Josh GrossandGitHub 4917a9f9e3 Merge pull request #124 from github/joshmgross/reusable-wf-jobs
Add initial support for converting reusable workflow jobs
2023-02-06 10:38:41 -05:00
Josh Gross 2e953b26ea Support reusable workflow jobs in the test context 2023-02-03 17:59:14 -05:00
Josh Gross 986ce1bfe4 Separate reusable jobs in the workflow context 2023-02-03 17:52:48 -05:00
Josh Gross 3d5b006138 Fix reusable workflow job type 2023-02-03 17:39:49 -05:00
Josh Gross 630a9d124e Use WorkflowJob in type guards 2023-02-03 17:28:48 -05:00
Josh Gross 04475e413f Explicitly define type in each job 2023-02-03 17:27:15 -05:00
Josh Gross 574216178b Fix Job references in language server 2023-02-03 17:24:31 -05:00
Josh Gross 6124e78f28 Add missing .prettierignore files 2023-02-03 16:57:44 -05:00
Josh Gross fe16d1a1ed Add initial support for converting reusable wf jobs 2023-02-03 16:57:28 -05:00
Josh GrossandGitHub 4c2d6cb65b Merge pull request #120 from github/joshmgross/update-schema
Update workflow schema
2023-02-02 11:04:24 -05:00
Josh Gross 492e190f83 Update workflow schema 2023-02-02 10:58:28 -05:00
Josh GrossandGitHub f57e43c906 Merge pull request #118 from github/joshmgross/validate-action
Validate that an action exists
2023-02-01 17:04:42 -05:00
Josh GrossandGitHub d4ff7979e1 Merge pull request #109 from github/joshmgross/audit-fix
`npm audit fix`
2023-02-01 17:03:57 -05:00
Josh Gross 3f05308f3b Fix invalid action references in tests 2023-02-01 16:43:39 -05:00
Josh GrossandGitHub 6b76f2ef2a Merge pull request #106 from github/joshmgross/workflow_call-validation
Skip event context validation for `workflow_call`
2023-02-01 11:34:32 -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 GrossandGitHub 39398bf099 Merge pull request #115 from github/joshmgross/org-values
Support shared organization secrets and variables
2023-01-31 16:38:06 -05:00
Josh Gross b79019bd6a Validate that an action exists 2023-01-31 13:21:36 -05:00
Josh Gross dc2ada05a7 Skip fetching org values for non-org repos 2023-01-30 19:05:34 -05:00
Josh Gross 4d658db245 Merge branch 'main' into joshmgross/org-values 2023-01-30 19:04:24 -05:00
Josh GrossandGitHub 850d1920e2 Merge pull request #116 from github/joshmgross/owner-type
Add owner type to repository context
2023-01-30 19:01:43 -05:00
Josh Gross d26c2d15ac Add owner type to repository context 2023-01-30 17:57:07 -05:00
Josh Gross e6caab1eb9 Support shared organization secrets and variables 2023-01-30 16:37:08 -05:00
Josh GrossandGitHub 672d5cce68 Merge pull request #113 from github/joshmgross/position-type
Use an object type to represent `Position`
2023-01-30 10:59:11 -05:00
Josh Gross 16ad1addf5 Update position tuples in tests 2023-01-27 15:54:51 -05:00
Josh Gross c33fcbc83d Use an object type to represent Position 2023-01-27 15:43:52 -05:00
Josh Gross 2f715cb43a npm audit fix 2023-01-25 19:14:21 -05:00
Josh Gross 64bcc2f287 Skip event context validation for workflow_call 2023-01-25 15:24:57 -05:00
Josh GrossandGitHub 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
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 GrossandGitHub 8a4cb44844 Merge pull request #101 from github/joshmgross/fetch-mocking
Replace `nock` and add tests for action input descriptions
2023-01-24 13:38:17 -05:00
Josh GrossandGitHub e670fae465 Merge pull request #98 from github/joshmgross/hover-context-inheritance
Ensure inherited context is shown on hover
2023-01-24 13:29:51 -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 GrossandGitHub 400c018b87 Merge pull request #97 from github/joshmgross/action-input-descriptions
Show action input descriptions on hover
2023-01-23 19:44:01 -05:00
Josh Gross 4a9fe401af Include deprecated and required input status 2023-01-23 19:39:28 -05: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 GrossandGitHub 4f3c0dde7c Merge pull request #94 from github/joshmgross/client_payload
Allow `{}` to represent any value in event payloads
2023-01-23 11:41:21 -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
Josh GrossandGitHub 5177ca5dfc Merge pull request #90 from github/joshmgross/merge-group-event
Add merge group event payload
2023-01-18 16:19:35 -05: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
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