Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
refactor(env): rename GITHUB_TOKEN to GH_TOKEN to improve semantics a…
Browse files Browse the repository at this point in the history
…nd consistency with other variables
  • Loading branch information
Bluzzi committed Jun 13, 2023
1 parent f8739da commit e37eadb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You must set this environment variables in your .env file :
BOT_TOKEN="your token"
# GitHub token :
GITHUB_TOKEN="your GitHub PAT (personal access token)"
GH_TOKEN="your GitHub PAT (personal access token)"
# Royaume API :
API_LINK="https://dev-api.royaume.world"
Expand Down
2 changes: 1 addition & 1 deletion src/configs/env/env.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export const envDTO = z.object({
API_LINK: z.string().url(),
API_TOKEN: z.string().uuid(),
BOT_TOKEN: z.string().nonempty(),
GITHUB_TOKEN: z.string().nonempty()
GH_TOKEN: z.string().nonempty()
});

0 comments on commit e37eadb

Please sign in to comment.