Skip to content

Commit a7bd203

Browse files
committed
Address review comments
1 parent 4733653 commit a7bd203

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docs/codeql/codeql-cli/creating-and-working-with-codeql-packs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ This command downloads all dependencies to the shared cache on the local disk.
7373

7474
Note
7575

76-
By default ``codeql pack install`` will install dependencies from the GitHub.com Container registry.
76+
By default ``codeql pack install`` will install dependencies from the Container registry on GitHub.com.
7777
You can install dependencies from a GitHub Enterprise Server Container registry by creating a ``qlconfig.yml`` file.
7878
For more information, see ":doc:`Publishing and using CodeQL packs <publishing-and-using-codeql-packs>`."

docs/codeql/codeql-cli/publishing-and-using-codeql-packs.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,16 @@ The ``analyze`` command will run the default suite of any specified CodeQL packs
7676
Managing packs on GitHub Enterprise Server
7777
------------------------------------------
7878

79-
By default, CodeQL will download packs from and publish packs to the GitHub.com Container registry.
79+
.. pull-quote::
80+
81+
Note
82+
83+
Managing packs on GitHub Enterprise Server is only available for GitHub Enterprise Server 3.6 and later.
84+
85+
By default, CodeQL will download packs from and publish packs to the Container registry on GitHub.com.
8086
You can manage packs on GitHub Enterprise Server 3.6 and later by creating a ``qlconfig.yml`` file to tell CodeQL which Container registry to use for each pack.
8187
Create the ``~/.codeql/qlconfig.yml`` file using your preferred text editor, and add entries to specify which registry to use for each pack name pattern.
82-
For example, the following ``qlconfig.yml`` file associates all packs with the Container registry for the GitHub Enterprise Server at ``GHE_HOSTNAME``, except packs matching ``codeql/*``, which are associated with the GitHub.com Container registry:
88+
For example, the following ``qlconfig.yml`` file associates all packs with the Container registry for the GitHub Enterprise Server at ``GHE_HOSTNAME``, except packs matching ``codeql/*``, which are associated with the Container registry on GitHub.com:
8389

8490
.. code-block:: yaml
8591
@@ -96,7 +102,7 @@ Authenticating to GitHub Container registries
96102

97103
You can download a private pack or publish a pack by authenticating to the appropriate GitHub Container registry.
98104

99-
You can authenticate to the GitHub.com Container registry in two ways:
105+
You can authenticate to the Container registry on GitHub.com in two ways:
100106

101107
1. Pass the ``--github-auth-stdin`` option to the CodeQL CLI, then supply a GitHub Apps token or personal access token via standard input.
102108
2. Set the ``GITHUB_TOKEN`` environment variable to a GitHub Apps token or personal access token.

0 commit comments

Comments
 (0)