You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -234,7 +234,8 @@ storing the token as a secret in your repository and then passing the new token
234
234
token: ${{ secrets.PAT }}
235
235
```
236
236
237
-
If you create a personal access token, apply the `repo` and `workflow` scopes.
237
+
If you create a personal access token (classic), apply the `repo` and `workflow` scopes.
238
+
If you create a fine-grained personal access token, apply the `Contents`-permissions.
238
239
239
240
If you work in an organization and don't want to create a PAT from your personal account, we recommend using a [robot account](https://docs.github.com/en/github/getting-started-with-github/types-of-github-accounts) for the token.
240
241
@@ -449,6 +450,9 @@ If your repository uses [protected branches](https://docs.github.com/en/reposito
449
450
First, you have to create a new [Personal Access Token (PAT)](https://github.com/settings/tokens/new),
450
451
store the token as a secret in your repository and pass the new token to the [`actions/checkout`](https://github.com/actions/checkout#usage) Action step.
451
452
453
+
If you create a personal access token (classic), apply the `repo` and `workflow` scopes.
454
+
If you create a fine-grained personal access token, apply the `Contents`-permissions.
0 commit comments