Skip to content

Commit a3638e8

Browse files
authored
Add deprecation notice to GitHub CLI Authentication (#3538)
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
1 parent 8a0c755 commit a3638e8

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ provider "github" {
9999

100100
### GitHub CLI Authentication
101101

102+
~> The GitHub CLI authentication fallback is only available when using the legacy client implementation and will be removed in a future major release. To use the legacy client implementation, set `legacy_client = true` in the provider configuration or set the `GITHUB_LEGACY_CLIENT` environment variable to `true`.
103+
102104
When using the GitHub CLI authentication fallback, you can optionally specify the path to the `gh` executable using the `GH_PATH` environment variable. This is useful when the provider cannot properly determine the path to GitHub CLI, such as in cygwin terminals. If not specified, the provider looks for `gh` in your system PATH.
103105

104106
#### .env

templates/index.md.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ Some API operations may not be available when using a GitHub App installation co
6363

6464
### GitHub CLI Authentication
6565

66+
~> The GitHub CLI authentication fallback is only available when using the legacy client implementation and will be removed in a future major release. To use the legacy client implementation, set `legacy_client = true` in the provider configuration or set the `GITHUB_LEGACY_CLIENT` environment variable to `true`.
67+
6668
When using the GitHub CLI authentication fallback, you can optionally specify the path to the `gh` executable using the `GH_PATH` environment variable. This is useful when the provider cannot properly determine the path to GitHub CLI, such as in cygwin terminals. If not specified, the provider looks for `gh` in your system PATH.
6769

6870
#### .env

0 commit comments

Comments
 (0)