github / github/codeql

Codeql pack create warning - is not an extension target of xxx

Aberta
#20,211 4 comentários 1 reação 0 responsáveis Ver no GitHub
bug
Linguagem predominante
CodeQL
Estrelas
10.1k
Forks
2.1k
Merge médio
2d 15h
PRs com merge (30d)
141

Descrição

**Description of the issue**

I'm following the instructions [here](https://github.com/github/codeql/issues/18316#issuecomment-2686816159) to trust an Action publisher as described by this changelog [entry](https://codeql.github.com/docs/codeql-overview/codeql-changelog/codeql-cli-2.20.5/#id10).

It works, but on running `codeql pack create` there's a warning that states:

`WARNING: In extension for codeql/actions-all:trustedActionsOwnerDataModel, addsTo.pack 'codeql/actions-all' is not an extension target of 'org/codeql-pack-name'. This warning will become an error in future versions of CodeQL.`

I googled a bit but its unclear to me what to do to resolve this. It would be helpful if the error message stated clearly what is expected of the end user. Could you point me to documentation that would help?

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start with the linked CodeQL changelog entry and the instructions in issue #18316, then reproduce the warning with `codeql pack create` using the described trusted-action extension. Done means identifying the expected extension-target relationship and documenting it or clarifying the warning for end users.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Domínio
security, tooling
Tipo de issue
Documentação
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.