Codeql pack create warning - is not an extension target of xxx
- Dominant language
- CodeQL
- Stars
- 10.1k
- Forks
- 2.1k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 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?
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Domain
- security, tooling
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100