8000 chore: move schema to repo root by krzema12 · Pull Request #254 · typesafegithub/github-actions-typing · GitHub
[go: up one dir, main page]

Skip to content

chore: move schema to repo root #254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ val collectExternalTypings by tasks.registering(Sync::class) {
into(layout.buildDirectory.dir("external-typings"))
}

val schemaFile = file("src/main/schema/github-actions-typing.schema.json")
val schemaFile = file("github-actions-typing.schema.json")
val goodDir = file("src/test/resources/good-typings")
val badDir = file("src/test/resources/bad-typings")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-boolean:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-boolean:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-boolean:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-boolean:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-boolean:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
verbose:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
verbose:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
verbose:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
verbose:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
verbose:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
granted-scopes:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
granted-scopes:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
granted-scopes:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
granted-scopes:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
granted-scopes:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
granted-scopes:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
granted-scopes:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
permissions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
permissions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
permissions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
permissions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
permissions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
permissions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
permissions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-float:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-float:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-float:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-float:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-float:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
some-float:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
some-float:
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/bad-typings/inputs_float_with_name.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
some-float:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
some-float:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
some-float:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
retries:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
retries:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
list-of-integer:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
retries:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/bad-typings/inputs_list_list_item.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/bad-typings/inputs_list_with_name.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
input-files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
name:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
name:
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/bad-typings/inputs_string_with_name.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../main/schema/github-actions-typing.schema.json
# yaml-language-server: 5D14 $schema=../../../../github-actions-typing.schema.json
# See https://github.com/typesafegithub/github-actions-typing
inputs:
name:
Expand Down
Loading
Loading
0