File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,9 +160,10 @@ To use the direct push functionality, you'll need to create a Personal Access To
1601605. **Configure Token**:
161161 - **Name**: Give it a name like "code.json Generator"
162162 - **Expiration**: Set appropriate expiration (recommend 90 days or 1 year)
163- - **Scopes**:
164- - Select ` repo` (full repository access)
165- 6. **Store Token** : Copy and paste your token and store it for the next part
163+ - **Scopes**:
164+ - For classic tokens: Select ` repo` (full repository access)
165+ - For fine-grained tokens : Select `Contents` (write) and `Metadata` (read)
166+ 6. **Copy the generated token** : Copy the token and keep it handy for the next section
166167
167168# ## Adding PAT to Repository
168169
@@ -171,7 +172,7 @@ To use the direct push functionality, you'll need to create a Personal Access To
1711723. **New Secret** : Click "New repository secret"
1721734. **Configure Secret** :
173174 - **Name**: `ADMIN_PAT`
174- - **Value**: Paste your Personal Access Token
175+ - **Value**: Paste your Personal Access Token that you copied from the previous section
1751765. **Save** : Click "Add secret"
176177
177178⚠️ _Please make sure the following are enabled within your Repository Action Settings in order to work properly_ ⚠️
You can’t perform that action at this time.
0 commit comments