github / github/codeql

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

Offen
#20,211 4 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
security, tooling
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.