Skip to content

[Bug] Typings stored in catalog are case-sensitive wrt. actions' owner/name #2025

@krzema12

Description

@krzema12

Component

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions