Skip to content

Commit 08a225e

Browse files
authored
Fix linting issues (updatecli#2479)
* docs: add missing github username env variable Signed-off-by: Olblak <me@olblak.com> * fix: linting issues --------- Signed-off-by: Olblak <me@olblak.com>
1 parent 72d40a1 commit 08a225e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

content/en/blog/2025/11/release_v0.110.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ We added an SCM kind `githubsearch` that generates SCM configurations from a Git
5050
Example updatecli.yaml using `githubsearch`:
5151
5252
.updatecli.yaml
53+
5354
```yaml
5455
name: Update all Golang versions
5556
scms:
@@ -87,7 +88,7 @@ targets:
8788
searchpattern: true
8889
```
8990
90-
You can try this pipeline running
91+
You can try this pipeline running
9192
9293
```bash
9394
export UPDATECLI_GITHUB_TOKEN=<your GitHub access token>

content/en/docs/plugins/_githubAuth.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ When these variables are set, Updatecli will use GitHub App authentication for a
4343
Set the following environment variable to use a Personal Access Token:
4444

4545
- `UPDATECLI_GITHUB_TOKEN`: Your GitHub Personal Access Token
46+
- `UPDATECLI_GITHUB_USERNAME`: Your GitHub username, if required by certain operations like scm operation.
4647
4748
Example:
4849

@@ -132,4 +133,4 @@ If no valid authentication is found, Updatecli will fail with an error.
132133
133134
'''
134135

135-
*Tip:* For best security and maintainability, prefer using a GitHub App or environment variables for authentication, and avoid hardcoding secrets in your manifests.
136+
*Tip:* For best security and maintainability, prefer using a GitHub App or environment variables for authentication, and avoid hardcoding secrets in your manifests.

0 commit comments

Comments
 (0)