Skip to content

Commit fa0b806

Browse files
Merge branch 'main' into v1.2.0
2 parents bf8b6d1 + a1a4b7e commit fa0b806

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,10 @@ To use the direct push functionality, you'll need to create a Personal Access To
160160
5. **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
171172
3. **New Secret**: Click "New repository secret"
172173
4. **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
175176
5. **Save**: Click "Add secret"
176177

177178
⚠️ _Please make sure the following are enabled within your Repository Action Settings in order to work properly_ ⚠️

0 commit comments

Comments
 (0)