Codeql pack create warning - is not an extension target of xxx
- Langage dominant
- CodeQL
- Étoiles
- 10.1k
- Forks
- 2.1k
- Merge moyen
- 2 j 15 h
- PR mergées (30 j)
- 141
Description
**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?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Domaine
- security, tooling
- Type d'issue
- Documentation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100