Skip to content

Commit d23bb51

Browse files
authored
📝 Mention required scope for PAT
Mention which scope/permission is required for the PAT. Reference: [#31](#31 (reply in thread))
1 parent b118e99 commit d23bb51

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ jobs:
4646
GH_PAT: ${{ secrets.GH_PAT }}
4747
```
4848
49-
In order for the Action to access your repositories you have to specify a [Personal Access token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) as the value for `GH_PAT`.
50-
51-
> **Note:** `GITHUB_TOKEN` will not work
49+
In order for the Action to access your repositories you have to specify a [Personal Access token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) as the value for `GH_PAT` (`GITHUB_TOKEN` will **not** work). The PAT needs the full repo scope ([#31](https://github.com/BetaHuhn/repo-file-sync-action/discussions/31#discussioncomment-674804)).
5250

5351
It is recommneded to set the token as a
5452
[Repository Secret](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository).

0 commit comments

Comments
 (0)