-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
46 lines (45 loc) · 2.16 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# GitHub Personal Access Token
# This token is required to authenticate requests to GitHub’s API for fetching
# repository releases and assets without hitting rate limits.
#
# Purpose:
# The GitHub API limits the number of requests per hour for unauthorized
# requests. By including a GitHub Personal Access Token, you increase the rate
# limit available for your application, allowing it to function without interruptions.
#
# Without this token, you may experience 403 (Forbidden) errors if the app
# exceeds the API’s request limit. GitHub tokens also ensure that your application
# has authorized access to private repositories, if needed.
#
# How to get your GitHub Personal Access Token:
#
# 1. Sign in to GitHub: Go to https://github.com/ and login.
#
# 2. Access Settings:
# - In the top right corner of any GitHub page, click your profile picture.
# - Click on **Settings** in the dropdown menu.
#
# 3. Open Developer Settings:
# - Scroll down and click **Developer settings** in the left sidebar.
#
# 4. Generate Token:
# - Select **Personal access tokens** > **Tokens (classic)** from the left sidebar.
# - Click on **Generate new token** > **Generate new token (classic)**.
#
# 5. Configure Token Permissions:
# - In the **Note** field, add a description (e.g., "Access for My Project").
# - Set the **Expiration** duration, or leave it as "No expiration" if you want it to last indefinitely.
# - Under **Select scopes**, choose at least:
# - `repo` - Grants read and write access to repositories, which allows access to private repositories if needed.
#
# 6. Generate and Copy Token:
# - Click **Generate token** at the bottom of the page.
# - GitHub will show your token only once. Copy it immediately and store it in a safe place.
#
# 7. Add Token Here:
# - Place the token below as the value for `GITHUB_TOKEN`.
#
# GitHub Documentation:
# - More details on personal access tokens: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
# - GitHub API rate limits: https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting
GITHUB_TOKEN=your_personal_access_token_here