Skip to content

Add FORGEJO_TOKEN environment variable support#116

Merged
andrew merged 1 commit into
git-pkgs:mainfrom
guettli:add-forgejo-token-lookup
Jun 8, 2026
Merged

Add FORGEJO_TOKEN environment variable support#116
andrew merged 1 commit into
git-pkgs:mainfrom
guettli:add-forgejo-token-lookup

Conversation

@guettli

@guettli guettli commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

This PR adds support for resolving token values via the FORGEJO_TOKEN environment variable for the codeberg.org domain, prioritizing it over GITEA_TOKEN.

@andrew andrew left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — sensible precedence (FORGEJO_TOKEN before GITEA_TOKEN since codeberg.org runs Forgejo), good test coverage.

@andrew andrew merged commit 7e9db8d into git-pkgs:main Jun 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants