docs: remove wrong part.

No need to write permission. A bad part was get GITHUB_TOKEN from secrets.
This commit is contained in:
marocchino 2021-03-23 07:34:51 +09:00 committed by GitHub
parent d20e92e308
commit e61538ba96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,10 +112,10 @@ with:
### Error: Resource not accessible by integration
This library require write permission of repo. that message means requester has
not enough permission. The solution is to split the workflow between the part
that can be executed with only read privileges and the part that writes comments.
See [this article](https://securitylab.github.com/research/github-actions-preventing-pwn-requests)
That message means requester has not enough permission. The solution is to split
the workflow between the part that can be executed with only read privileges and
the part that writes comments. See [this
article](https://securitylab.github.com/research/github-actions-preventing-pwn-requests)
for more information, and see below example for solution:
```yaml