-
-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Component
- github-workflows-kt (library with the DSL)
- bindings server (https://bindings.krzeminski.it)
- I don't know
Action
Adding a dependency on an action, using casing different than stored for typings in the catalog:
@file:DependsOn("actions:ChEcKoUt:v4")
Expected
@file:DependsOn("actions:ChEcKoUt:v4")
works the same way as
@file:DependsOn("actions:checkout:v4")
Actual
GitHub's owners and repo names are case-insensitive, where as when fetching typings from https://github.com/typesafegithub/github-actions-typing-catalog, it's case-sensitive.
If someone declares a dependency on an action that isn't in line with how typings are stored, e.g.:
@file:DependsOn("actions:ChEcKoUt:v4")
the action will be found because the action's manifest is fetched using the GitHub's case-insensitivity, but the typings won't be found in the catalog: https://raw.githubusercontent.com/typesafegithub/github-actions-typing-catalog/refs/heads/main/typings/actions/ChEcKoUt/v4/action-types.yml
Workaround, if exists
Use the same casing in @file:DependsOn
as in https://github.com/typesafegithub/github-actions-typing-catalog.