github / github/codeql

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

オープン
#20,211 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

**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?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

領域
security, tooling
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。